redamon
AGENTS.md2.9k starsChanged 9 months agoMITView on GitHub
Skills: on-demand rulesets live in skills/. The full list is the SKILLS CATALOGUE at the bottom of this file. The table directly below is generated by sync.sh from each skill's frontmatter - never hand-edit it. This ruleset system is documented in docs/readmes/skills_management/SKILLS_MANAGEMENT.md. When performing these actions, ALWAYS invoke the corresponding skill FIRST: - NEVER commit real-world target data - live hostnames, IPs, scan output, recon results, captured traffic, or credentials - in code, fixtures, tests, issues, or PRs. See CONTRIBUTING.md…
- Reads credentials
Trending
More talk lately.thin dataabout the whole repository
Who's talking about samugit83/redamon
- @agentwire.thecompound.tech“https://github.com/samugit83/redamon more like this: https://agentwire.thecompound.tech/aw/s7ukpg”Bluesky · Oct 2, 2026 · 1 likes
- raphabot/awesome-cybersecurity-agentic-ai“Add RedAmon to Tools”GitHub · Oct 1, 2026
- kyrolabs/awesome-langchain“Add RedAmon to Agents”GitHub · Oct 1, 2026
- enaqx/awesome-pentest“Add RedAmon to Multi-paradigm Frameworks”GitHub · Oct 1, 2026
- The-Art-of-Hacking/h4cker“Add RedAmon to AI Agentic Tools for Cybersecurity”GitHub · Oct 1, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub and Bluesky (7 times).
On GitHub · 6
- Oct 1, 2026Add RedAmon to Tools — raphabot/awesome-cybersecurity-agentic-ai0 reactions
- Oct 1, 2026Add RedAmon to Agents — kyrolabs/awesome-langchain0 reactions
- Oct 1, 2026Add RedAmon to Multi-paradigm Frameworks — enaqx/awesome-pentest0 reactions
- Oct 1, 2026Add RedAmon to AI Agentic Tools for Cybersecurity — The-Art-of-Hacking/h4cker0 reactions
- Oct 1, 2026Add RedAmon to Pentest & Red-Team Agents — scadastrangelove/awesome-ai-security-tools0 reactions · 1 comment
1 more on GitHub
- Jun 6, 2026[Add] RedAmon (samugit83/redamon) — PyTorchKR/landscape0 reactions
On Bluesky · 1
- Oct 2, 2026https://github.com/samugit83/redamon more like this: https://agentwire.thecompound.tech/aw/s7ukpg — @agentwire.thecompound.tech1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository24 other files it gives its agents.
- agentic/AGENTS.mdAGENTS.md
- recon/AGENTS.mdAGENTS.md
- recon_orchestrator/AGENTS.mdAGENTS.md
- webapp/AGENTS.mdAGENTS.md
- agentic/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- recon/CLAUDE.mdCLAUDE.md
- recon_orchestrator/CLAUDE.mdCLAUDE.md
- webapp/CLAUDE.mdCLAUDE.md
- add-community-skillSkill
- add-partial-reconSkill
- agentic-tool-integrationSkill
- builtin-agent-skillSkill
- graph-db-writesSkill
- llm-provider-integrationSkill
- mcp-server-toolsSkill
- orchestrator-container-spawnSkill
- priority-board-triageSkill
- project-settings-cascadeSkill
- recon-ai-enrichmentSkill
- recon-tool-integrationSkill
- redamon-testingSkill
- supply-chain-scanSkill
- traffic-captureSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When performing these actions, ALWAYS invoke the corresponding skill FIRST:
- Very specific: line 33
NEVER: commit real-world target data - live hostnames, IPs, scan output, recon results, captured traffic, or credentials - in code, …
- Distinctive: line 58
NO commented-out code: Delete it - git remembers.
- Distinctive: line 59
Prefer a clearer name or a helper over a comment: when the comment only exists to decode the code.
- Distinctive: line 77
Only the roots an agent needs to place a file.
- Very specific: line 132
Read the values from .env when needed.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RedAmon - Agent Ruleset (Repository Root)
Skills: on-demand rulesets live in
skills/. The full list is the SKILLS CATALOGUE at the bottom of this file. The table directly below is generated bysync.shfrom each skill's frontmatter - never hand-edit it.This ruleset system is documented in
docs/readmes/skills_management/SKILLS_MANAGEMENT.md.
Auto-invoke Skills
When performing these actions, ALWAYS invoke the corresponding skill FIRST:
| Action | Skill |
| Adding a node label, relationship, or property to the graph schema | graph-db-writes |
| Adding or editing a test file in any section | redamon-testing |
| Changing how a triage score, review or verdict is computed or written | priority-board-triage |
| Changing test tiers, conftest.py, pytest.ini, or the runner in redamon.sh | redamon-testing |
| Checking or ratcheting a coverage floor | redamon-testing |
| Editing the Priority Board, the triage graph mixin, or the MCP triage tools | priority-board-triage |
| Investigating a red, skipped or xfailed test | redamon-testing |
| Writing to the Neo4j graph or editing a graph_db mixin | graph-db-writes |
CRITICAL RULES - NON-NEGOTIABLE
<!-- Every line here is in context on EVERY turn. Add one only if an agent could
break it while working on something else AND could not discover it from the
file being edited. Component specifics belong in a scoped skill, not here. -->- NEVER commit real-world target data - live hostnames, IPs, scan output,
recon results, captured traffic, or credentials - in code, fixtures, tests,
issues, or PRs. See
CONTRIBUTING.md-> "Legal and Ethical Responsibilities". - NEVER validate a change by running
pyteston the host. The Python gate runs each section INSIDE its Docker image (redamon-agent,redamon-recon, ...) via./redamon.sh test/./agentic/run_tests.sh; host pytest sees the wrong dependency set and mis-collects. The unit tier must stay 100% green.
CODE COMMENTS
Comment the why, not the what. Keep them short - a comment earns its place by saying something the code cannot.
- DON'T restate the line below it.
# CVE Lookupabove'CVE_LOOKUP_ENABLED'or// IncludeSecurity blogabove{ name: 'IncludeSecurity blog' }adds nothing. Delete echo comments; let the identifier speak. - DO explain non-obvious intent: why a value is what it is, a footgun, an ordering constraint, or the provenance of a magic constant (e.g. the source repo + byte size behind a favicon hash). These are the comments worth keeping, even when long.
- NO changelog narration.
# was 900 MB, now 1.75 GB/# renamed from Xbelongs in the git log. State current behavior; keep the rationale only if it still guides a future edit. - NO commented-out code. Delete it - git remembers.
- Prefer a clearer name or a helper over a comment when the comment only exists to decode the code. Reach for prose (a docstring / block comment) when the reasoning genuinely needs more than a line.
LLM-facing text is exempt: tool docstrings and prompt strings the agent reads at runtime are content, not code comments - size them for the model, not this rule.
TECH STACK
Polyglot monorepo orchestrated by Docker Compose. Python 3.11 services (the
agent, recon pipeline, recon orchestrator, MCP/kali-sandbox, scan tools) + a
Next.js 16 / React 19 / TypeScript / Prisma webapp + Neo4j graph DB + Postgres. redamon.sh
(bash) is the control plane for build/run/test.
PROJECT STRUCTURE
Only the roots an agent needs to place a file. Each component root carries its
own AGENTS.md.
agentic/ Python - the LangGraph agent (baked into redamon-agent image)
recon/ Python - the recon pipeline (spawned per scan job)
recon_orchestrator/ Python - orchestrates scan containers (volume-mounted)
mcp/ Python - MCP servers incl. kali-sandbox
graph_db/ Python - Neo4j graph layer (COPY-baked into agent image)
webapp/ TypeScript - Next.js frontend + API + Prisma
skills/ agent skills (this ruleset system)
tests/ repo-root Python tests + shell integration tests
scanners/ the 11 scan tools, each its own container image
supply_chain_*/ malicious/vulnerable package detection (OSV offline)
capture_proxy/ mitmproxy HTTP capture
ai_attack_surface_scan/ LLM/AI attack-surface scanning
gvm_scan/ github_secret_hunt/ trufflehog_scan/ baddns_scan/ wcvs/ codefix_sandbox/
services/ supporting services (docker_broker, knowledge_base, postgres_db)
testing/ e2e/ (Playwright) + guinea_pigs/ (vulnerable targets)
tooling/ scripts/ (e.g. pytest_isolated.py), hooks/, deploy/
docs/ readmes/ (prose docs) + assets/ (media)A scanner's container-side paths stay /app/<scanner>; only host-side paths
carry the scanners/ prefix.
Prose docs live in docs/readmes/ (architecture, README.<SUBSYSTEM>.md, and
docs/readmes/coding_agent_prompts/ "how to add X" guides) and redamon.wiki/
(the published GitHub wiki). This ruleset system and its templates live in
docs/readmes/skills_management/.
COMMANDS
# Build & run the stack (always via Docker; never local npx/node/pip)
# There is no `build` subcommand: building happens inside install/update, which
# wrap it in the adaptive, memory-safe batching (compose_build).
./redamon.sh install # first run (add --gvm / --kbase)
./redamon.sh update # pull + smart-rebuild only what changed
./redamon.sh up # start what is already built
# Test - runs each section inside its Docker image, per-file isolated
./redamon.sh test unit # the gate; must be 100% green
./agentic/run_tests.sh # agent-image unit gate (alias: focused)
# Webapp (needs the webapp image or `npm ci` in webapp/)
cd webapp && npm run test # vitest run --no-file-parallelism
cd webapp && npm run type-check && npm run lintCredentials for the local stack live in the repo-root .env (gitignored). To sign
in to the UI in a browser, use UI_LOGIN_USERNAME / UI_LOGIN_PASSWORD. To call
the MCP server, send MCP_SERVER_TOKEN as Authorization: Bearer to
http://localhost:3000/api/mcp-server (the port is WEBAPP_PORT if changed).
Read the values from .env when needed; never print them.
QA CHECKLIST
./redamon.sh test unitis green (Docker gate, not host pytest).- Changed a component? Its
AGENTS.mdQA checklist also satisfied. - Rebuilt/restarted the right container for the files you touched.
- No real-world target data added anywhere.
- Commit follows Conventional Commits; branch is
feature|fix|refactor|docs/*.
SKILLS CATALOGUE
Maintained by hand (not touched by sync.sh). One row per skill.
| Skill | Description | URL |
redamon-testing | How tests run + how to author them: the per-file Docker gate, tiers, and green-run-that-lies failure modes | SKILL.md |
agentic-tool-integration | Wiring a new tool the agent can call: registry, phase map, dispatch chokepoint, duplicated exec paths | SKILL.md |
builtin-agent-skill | Adding a built-in attack skill across its 9 layers (incl. the KNOWN_ATTACK_PATHS gate + silent drawer layers) | SKILL.md |
project-settings-cascade | Changing/adding a project default across Prisma + two Python modules + /defaults + frontend + existing rows | SKILL.md |
graph-db-writes | Writing the Neo4j graph: the tenant-isolation MERGE key, mixin placement, schema-sync | SKILL.md |
recon-ai-enrichment | Wiring an LLM into a recon tool: never-raise, per-target cache, full+partial, two toggles one field | SKILL.md |
recon-tool-integration | Adding a recon pipeline tool: the enrichment _isolated contract, graph completeness, preset catalog | SKILL.md |
llm-provider-integration | Adding an LLM provider: keys never reach scan containers, prefix-routed model ids, the registry | SKILL.md |
orchestrator-container-spawn | Spawning/hardening scan containers: the cap_drop / no-new-privileges footgun, sibling bind mounts | SKILL.md |
traffic-capture | Capture proxy + replay/fuzz: the egress guard (resolved-IP SSRF denylist), off the scan's critical path | SKILL.md |
supply-chain-scan | Supply-chain scanner: offline OSV DB (not scan-bootstrapped), world-readable DB, soft-error markers | SKILL.md |
add-community-skill | Importable .md attack workflow: real tool names only, no rebuild, stay classifiable, per-user | SKILL.md |
add-partial-recon | Partial-recon support: graph-sourced inputs, MERGE dedup, the input-node modal, mirror the right ref impl | SKILL.md |
mcp-server-tools | Inbound MCP server tools: regenerate the wiki API reference, spec-accurate destructiveHint, runnable example calls | SKILL.md |
priority-board-triage | Priority Board layers: nobody writes a score (combine_layers only), one layer per writer, never updated_at, legacy-tolerant readers | SKILL.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

