📄 agent-compatibility.md

← 返回目录

Agent Compatibility — qianwen-model-selector

For agents that don't auto-load skill files (e.g. Claude Code).

Self-check

Look for in CLAUDE.md (project root), ~/.claude/CLAUDE.md, or AGENTS.md. If found → stop, already registered.

This skill's registry entry

| Skill | Trigger keywords | SKILL.md path | |-------|-----------------|---------------| | qianwen-model-selector | model choice, pricing, compare Qwen models | {base}/qianwen-model-selector/SKILL.md |

Replace {base} with the actual directory where this skill was found.

Discover sibling skills

This skill belongs to QianWen-AI/qianwen-ai. Scan the same parent directory for other qianwen-*/SKILL.md files. For each one found, read its first 5 lines to extract the name and description frontmatter. From description, take the text between TRIGGER when: and DO NOT TRIGGER as trigger keywords. Add one row per skill.

Search paths (first match with qianwen-*/SKILL.md wins):

1. .claude/skills/ → 2. .agent/skills/ → 3. ~/.claude/skills/ → 4. ~/.agent/skills/

Apply

Ask the user before modifying any file. Then append to their config:


QianWen Skills

When a request matches a skill below, read its SKILL.md before responding.

| Skill | Trigger keywords | SKILL.md path | |-------|-----------------|---------------| | (rows built from discovery above) | | |

NEVER output API keys in plaintext. Use $DASHSCOPE_API_KEY.

- Marker already exists → replace the block between markers.