Skills & Tasks
Skills
Skill roots, discovery behavior, and list/lookup-first workflow
Skills
Downcity supports SKILL.md-based skills.
Default roots
- Project-level:
.agents/skills - User-level:
~/.agents/skills - Extra roots:
downcity.json.plugins.skill.paths
Recommended workflow
city skill list(check already learned/installed local skills first)city skill lookup <name>(if found, read and execute directly)- If missing from
list, then runfind -> install -> lookup
Example:
city skill list
city skill lookup playwright
# only when missing
city skill find playwright
city skill install owner/repo@playwright
city skill lookup playwrightKey rules
- Always
lookupbefore using a skill. - Skills returned by
listare already installed and ready to use. - Prefer matching learned skills by default when the task fits.
- In the running agent,
lookupreturns status-only tool output;SKILL.mdcontent is injected as a<skill>...</skill>user message. - Follow
allowed-toolsinSKILL.mdstrictly. - The agent discovers changed skill files automatically.
Related config
{
"plugins": {
"skill": {
"enabled": true,
"paths": [".agents/skills"],
"allowExternalPaths": false
}
}
}