ask-matt
MAmattpocock/skills336k近 7 天新增 5,004 个 star
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.
.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).
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.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..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.KNOWN_ATTACK_PATHS in agentic/state.py), add a
vs. <builtin> (built-in) line telling the user to disable that built-in on
import.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.# 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).
builtin-agent-skillMAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
OBobra/superpowers331k近 7 天新增 5,757 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star