Skip to content
FunCoding

add-community-skill

Adding a Community Agent Skill: a Markdown attack-workflow file that users import from the catalog, which then competes in the Intent Router and is injected into the agent's system prompt. No Python, no rebuild - but it must name only real tools and stay classifiable. Trigger: adding or editing a .md workflow under agentic/community-skills/; authoring an importable attack skill (not a hardcoded one); editing the community-skills catalog or its README.

Star
3,553
License
MIT
Last commit
Nov 30, 2026

skills/add-community-skill/SKILL.md

View on GitHub

When to Use

  • Shipping a battle-tested attack workflow as an importable .md, without hardcoding it into Python.

For a hardcoded, first-class skill (9-layer wiring, badge, per-project toggle), use builtin-agent-skill instead. For a reference/theory doc rather than a workflow, that is a Community Chat Skill (different flow).


Critical Rules

  • NEVER invent tool names. Every step must name a key of TOOL_REGISTRY (agentic/prompts/tool_registry.py): query_graph, kali_shell, execute_curl, execute_code, execute_playwright, execute_nuclei, execute_hydra, execute_ffuf, ... A step naming a non-existent tool is dead on arrival.
  • NEVER call a kali_shell CLI that is not installed AND documented. The binary must be in mcp/kali-sandbox/Dockerfile and named in the kali_shell description (the kali_toolbox MCP tool serves that text verbatim; an unlisted binary does not exist for MCP clients). Prefer a tool already installed. A new one is an agent-tool change: PROMPT.ADD_AGENTIC_TOOL.md Type A (pinned install, description, stealth rule, smoke test). Every wordlist or file path a command uses must exist in the image too.
  • NEVER rebuild the agent for the .md alone. ./agentic/community-skills is volume-mounted read-only into the container (the agent's ./agentic/community-skills:/app/community-skills:ro volume in docker-compose.yml); the GET /community-skills endpoint auto-discovers by globbing the directory. Drop the file and it is live on the next call. (This is the exception to "agentic/ changes need a rebuild" - that applies to baked Python, not the mounted skills dirs.) A skill that needs a NEW kali CLI is not rebuild-free: rebuild the Kali image (docker compose --profile tools build kali-sandbox; running sandboxes move to it once their work ends) AND the agent.
  • NEVER write a description that overlaps a built-in skill. Imported skills compete with built-ins in the Intent Router; a generic or overlapping opening paragraph means the classifier never selects it. Make the first paragraph and the description distinct. If the skill covers the same attack class as a built-in (KNOWN_ATTACK_PATHS in agentic/state.py), add a vs. <builtin> (built-in) line telling the user to disable that built-in on import.
  • Commands must be copy-pasteable in fenced blocks - no pseudo-code. The markdown content is injected verbatim into the system prompt.
  • Remember it is per-user, not global. Users import via Global Settings > Agent Skills; already-imported users do NOT auto-pick-up new skills (they re-import; duplicates are skipped by name). An EDIT to a shipped skill reaches existing importers only through that import: it lists their copies whose text differs from the catalog and, when the person confirms, replaces them with the catalog's text (their own edits included). Say so in the CHANGELOG.
  • One reachable port. A person's Kali sandbox takes inbound connections from a target on one port only (their pool port, or 4444 through their own tunnel), and the payload settings block names it. Never write a literal LPORT, an http.server on a sandbox port, a second inbound port (a JNDI referral server on 1389/1099, a relay or nc/socat listener on a fixed port) or an ngrok/chisel of the skill's own. agentic/tests/test_prompts_reverse_ports.py scans this folder for them.

Commands

# No build. Drop the file and confirm discovery:
ls agentic/community-skills/            # your new <skill>.md lives here
# GET /community-skills globs this dir; the row lands in the Postgres UserAttackSkill
# table only after a user clicks "Import from Community".

If agentic/community-skills/README.md has a skills table, add a row (check the file first; do not invent structure).

Resources

Similar Skills

ask-matt

MAmattpocock/skills336k4,217 new stars in the last 7 days

chief-of-staff

MAmattpocock/skills336k4,217 new stars in the last 7 days

setup-matt-pocock-skills

MAmattpocock/skills336k4,217 new stars in the last 7 days

subagent-driven-development

OBobra/superpowers331k5,030 new stars in the last 7 days

autonomous-loops

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

agent-eval

AFaffaan-m/ECC314k3,503 new stars in the last 7 days