Downcity
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
  1. city skill list (check already learned/installed local skills first)
  2. city skill lookup <name> (if found, read and execute directly)
  3. If missing from list, then run find -> 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 playwright

Key rules

  • Always lookup before using a skill.
  • Skills returned by list are already installed and ready to use.
  • Prefer matching learned skills by default when the task fits.
  • In the running agent, lookup returns status-only tool output; SKILL.md content is injected as a <skill>...</skill> user message.
  • Follow allowed-tools in SKILL.md strictly.
  • The agent discovers changed skill files automatically.
{
  "plugins": {
    "skill": {
      "enabled": true,
      "paths": [".agents/skills"],
      "allowExternalPaths": false
    }
  }
}