chanjing-credentials-guard SKILL.md skillB

chanjing-credentials-guard from chanjing-ai/chan-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add chanjing-ai/chan-skills/chanjing-credentials-guard@git:20260327.fce5536

Pins git:20260327.fce5536 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
chanjing-ai/chan-skills
Path
skills/chanjing-credentials-guard/SKILL.md
Versions recorded
5
Latest version
git:20260327.fce5536, committed Mar 27, 2026
First version recorded
Mar 12, 2026
Size
7,516 bytes
Repository stars
22
License
none declared

Guide users to configure local Chanjing credentials safely via local commands only, and validate local token status when needed.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Chanjing Credentials Guard

## 功能说明

仅通过**本地命令**引导用户配置/校验蝉镜 **AK/SK** 与 **Token**,打开登录页;**不在对话中索取密钥**。可配合其它 Chanjing 技能使用。

## 运行依赖

- **python3** 与 `scripts/chanjing_config.py`、`scripts/open_login_page.py`、`scripts/chanjing_get_token.py` 等

## 环境变量与机器可读声明

- 环境变量键名与说明:**`manifest.yaml`**(`environment` 段)及本文
- 变量、写盘路径与权限:**`manifest.yaml`**

## 使用命令

- **ClawHub**(slug 以注册表为准):`clawhub run chanjing-credentials-guard`
- **本仓库**:`python skills/chanjing-credentials-guard/scripts/chanjing_config.py --status`

---

## When to Run

1. **When user asks to configure/get Chanjing keys (AK/SK)**: use this skill to guide local setup.
2. **When credentials are missing/invalid before a Chanjing API call**: use this skill to recover local config.

This skill is a **local credential guide**, not a cross-skill runtime dependency.

## Execution Flow

```
1. Check if local AK/SK exists
   └─ No  → Run open_login_page.py (open login in browser) → Ask user to run local config command
   └─ Yes → Continue

2. Check if local Token exists and is not expired
   └─ No  → Call API to request/refresh Token → Save
   └─ Yes → Continue

3. Prompt user to continue target action
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add chanjing-ai/chan-skills/chanjing-credentials-guard@sha256:464f0b078395be64

The line at the top of this page pins the label git:20260327.fce5536, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_f4wyhfhnfi5prbii.svg)](https://markdownregistry.com/a/art_f4wyhfhnfi5prbii)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 12, 2026 and Mar 27, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20260327.fce5536 latest2026-03-27 fce5536 7,516 BB view · diff
git:20260319.e5172e82026-03-19 e5172e8 7,746 BB view · diff
git:20260313.6f67b302026-03-13 6f67b30 6,620 BB view · diff
git:20260313.d89306f2026-03-13 d89306f 6,637 BB view · diff
git:20260312.9d3a1c52026-03-12 9d3a1c5 6,372 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No instruction to read or print local credentials (matched: read `~/.chanjing/credentials.json)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7516 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

chanjing-ai/chan-skills · 22 stars · license none declared · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_f4wyhfhnfi5prbii
GET https://markdownregistry.com/api/v1/resolve?ref=chanjing-ai/chan-skills/chanjing-credentials-guard
GET https://markdownregistry.com/api/v1/blob/464f0b078395be645c74c62630a001645a2987a9cb2c8d66eb5e463f91b15f76

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from chanjing-ai/chan-skills

chanjing-ai-creation SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-ai-creation/SKILL.md · Chanjing AI creation Open API client: submit image/video tasks, poll task status, list and get tasks, and optionally…
git:20260819.6bfc5e9 · audit A · 22 stars
chanjing-avatar SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-avatar/SKILL.md · Use Chanjing Avatar API for lip-syncing video generation (upload audio/video, create tasks, poll results).
git:20260327.fce5536 · audit A · 22 stars
chanjing-customised-person SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-customised-person/SKILL.md · Use Chanjing customised person APIs to create, inspect, list, poll, and delete custom digital humans from uploaded…
git:20260327.fce5536 · audit A · 22 stars
chanjing-one-click-video-creation SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-one-click-video-creation/SKILL.md · 用户输入选题或工作流,自动生成完整短视频成片(文案、分镜、数字人口播与 AI 画面混剪);调用 Chanjing Open API 与同仓库子技能脚本。
git:20260819.6bfc5e9 · audit A · 22 stars
chanjing-openapi-tools SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-openapi-tools/SKILL.md · 查询蝉镜标签、消耗、价格,管理分片上传或生成创意 Briefing 时使用。需要已配置的蝉镜 OpenAPI AK/SK。
git:20260819.6bfc5e9 · audit A · 22 stars
chanjing-text-to-digital-person SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-text-to-digital-person/SKILL.md · Use Chanjing text-to-digital-person APIs for AI portraits, talking videos, polling, and explicit downloads when…
git:20260820.277cfb8 · audit A · 22 stars
chanjing-tts-voice-clone SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-tts-voice-clone/SKILL.md · Use Chanjing TTS API to synthesize speech from text with a user-provided cloned voice (reference audio via public URL).
git:20260327.fce5536 · audit A · 22 stars
chanjing-tts SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-tts/SKILL.md · Use Chanjing TTS API to convert text to speech (list voices, create tasks, poll, download from returned URLs).
git:20260327.fce5536 · audit A · 22 stars
chanjing-video-compose SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-video-compose/SKILL.md · Use Chanjing video synthesis APIs to create digital human videos from text or audio, with optional background upload…
git:20260327.fce5536 · audit A · 22 stars
chanjing-video-translation SKILL.md skill
chanjing-ai/chan-skills · skills/chanjing-video-translation/SKILL.md · 创建蝉镜视频翻译任务或查询支持语言时使用。需要已配置的蝉镜 OpenAPI AK/SK。
git:20260818.36f8bdb · audit A · 22 stars

Every file in chanjing-ai/chan-skills

Browse by kind, by grade B, or by owner.