| name | aweskill |
| description | Use when managing aweskill store, bundle, and agent workflows that are not repair-first: routine commands, bundle template work, multi-agent or multi-scope projection planning, recover flows, skill migration, install/remove/configure tasks. 中文触发词:技能管理、导入技能、投影技能、启用/禁用技能、安装/移除技能、bundle、agent、aweskill、高级技能管理、recover、技能迁移。 |
Aweskill
Use aweskill CLI directly. Do not add wrapper scripts unless the CLI is missing a needed capability.
Intent Router
Match the user's intent to a task domain, then follow the workflow below.
| User intent | Domain | First command |
|---|
| "Find a skill for X", "search skills", "install from GitHub" | Source Lifecycle | aweskill find <query> |
| "Scan and import local skills", "what's in the store", "remove a skill from the store" | Store Work | aweskill store list --verbose |
| "Create a bundle", "add skills to a bundle", "show bundle contents" | Bundle Work | aweskill bundle list --verbose |
| "Give Codex skill X", "project a bundle to Cursor", "remove a projection" | Projection Work | aweskill agent list --verbose |
| "Update a skill", "refresh skills", "更新技能" | Source Lifecycle | aweskill update --check |
| "Update aweskill itself", "upgrade the CLI" | Self-Update | aweskill self-update --check |
| "Something is broken", "skill not showing up", "duplicate skills" | Escalate | Hand off to $aweskill-doctor |
First-Time Setup
If aweskill is not installed or the store is not initialized, run the full bootstrap:
- Install the CLI:
npm install -g aweskill
- Initialize the central store:
aweskill store init
- Confirm the store location:
aweskill store where --verbose
- Project built-in skills to the current agent:
aweskill agent add skill aweskill,aweskill-doctor --global --agent <current-agent-id>
- Verify:
aweskill agent list --global --agent <current-agent-id> — both skills should show as linked
- Tell the user to invoke skills (
/ or $, depending on the agent) and check if the new skills appear. If they do, the skills are ready to use. If not, ask the user to restart the agent.
If aweskill is already installed but the store is not initialized, start from step 2.
If the store is initialized but skills are not projected, start from step 4.
Core Rules
Inspect before mutating:
- Run a read-only inspection command first.
- Confirm scope:
--global or --project [dir].
- Confirm target agent with
--agent when the command touches projections.
- Run the mutating command only after the current state is clear.
- Re-run inspection after mutation to verify the result.
For complex changes, also decide:
- Whether the source of truth should remain the central store, a bundle, or an existing agent root.
- Whether the task is single-scope or truly needs both
--global and --project.
- Whether the task is single-agent or should be applied agent-by-agent with explicit
--agent.
Workflows
Source Lifecycle
Use when the task is about searching upstream sources, installing tracked skills, or refreshing them.
aweskill find <query>
aweskill find <query> --local
aweskill find <query> -p <provider>
aweskill find <query> -l <number>
aweskill find <query> --domain <domain>
aweskill find <query> --stage <stage>
aweskill install <source>
aweskill install <source> --skill <name>
aweskill install <source> --list
aweskill install <source> --all
aweskill install <source> --ref <ref>
aweskill install <source> --as <name>
aweskill install <source> --override
aweskill update --check
aweskill update [skill...]
aweskill update --dry-run
aweskill update --source <source>
aweskill update --override
Decision order:
find when the source is not yet known.
install when the source is known and the skill should enter the central store.
update --check when the user wants visibility before change.
update when the skill is already tracked and should be refreshed.
Store Work
Use when the task is about existing local skills that need to be brought into or managed inside the central store.
aweskill store list --verbose
aweskill store show <skill>
aweskill store scan
aweskill store scan --verbose
aweskill store scan --scope project
aweskill store scan --agent claude
aweskill store scan --import
aweskill store scan --import --override
aweskill store scan --import --keep-source
aweskill store scan --import --verbose
aweskill store remove <skill>
aweskill store backup [archive]
aweskill store backup --skills-only
aweskill store restore <archive>
aweskill store restore <archive> --override
Self-Update
Use when the task is about updating the aweskill CLI tool itself, or when the installed CLI behaves differently from the repo code.
aweskill self-update --check
aweskill self-update
aweskill self-update --dev --check
aweskill self-update --dev
If the user reports that the installed aweskill doesn't match what they expect from the repository:
- Check which binary is active:
which aweskill
- Check installed version vs npm latest:
aweskill self-update --check
- If dev branch is needed:
aweskill self-update --dev --check && aweskill self-update --dev
- If the issue persists, inspect the installed
dist/index.js or global package target to confirm which code is actually running.
Bundle Work
Use when the task is about organizing reusable skill sets before projecting them into agents.
aweskill bundle list --verbose
aweskill bundle create <name>
aweskill bundle add <bundle> <skills>
aweskill bundle remove <bundle> <skills>
aweskill bundle show <name>
aweskill bundle delete <name>
aweskill bundle template import <name>
Projection Work
Use when the task is about applying central-store skills or bundles into agent roots.
aweskill agent supported
aweskill agent list [--global|--project [dir]] [--agent <id>] --verbose
aweskill agent add skill <name> --global --agent <id>
aweskill agent add bundle <name> --project [dir] --agent <id>
aweskill agent add skill <name> --global --agent <id> --force
aweskill agent remove skill <name> --global --agent <id>
aweskill agent remove skill <name> --global --agent <id> --force
aweskill agent recover --global --agent <id>
For scope-sensitive or multi-agent projection:
- Decide whether target should be
--global or --project [dir].
- Run
aweskill agent supported if agent IDs are uncertain.
- Use
aweskill agent list before projecting.
- Apply changes one scope at a time unless the user explicitly wants multi-scope rollout.
- Re-run
aweskill agent list --verbose to verify the result.
Escalation to Doctor
Hand off to $aweskill-doctor when the symptom matches one of these categories:
| Symptom | Doctor workflow |
|---|
agent list shows broken | Projection is Broken |
agent list shows duplicate or matched | Duplicate Skills Exist |
agent list shows suspicious or new | Store Has Suspicious Files |
store list or doctor clean reports suspicious entries | Store Has Suspicious Files |
doctor fix-skills reports malformed frontmatter | SKILL.md Frontmatter is Malformed |
| User says "skill not showing up" | Agent Cannot See a Skill |
| User asks to "repair", "clean", "deduplicate", or "sync" | Run inspection first, then follow the matching symptom workflow |
Do NOT escalate for CLI version mismatches or self-update issues — handle those in the Self-Update workflow above.
References
references/common-flows.md — common day-to-day command sequences
references/command-map.md — fast route from user intent to CLI command