add-partial-recon

add-partial-recon is a skill for Claude Code, Codex from samugit83/redamon. It costs 103 tokens per session (1,524 once invoked), scanned A, original, MIT.

A workflow for making one security-scanning tool run on demand as a single phase, using information already stored in the scan's graph database.

In plain words
What is it for?
It is for adding single-phase scan reruns, connecting their inputs to the graph, building the input form, and sharing the setup with full scans.
Why use it?
It prevents partial runs from creating duplicate graph records or asking users to manually enter values that should come from existing scan data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for adding single-phase scan reruns, connecting their inputs to the graph, building the input form, and sharing the setup with full scans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/samugit83/redamon/add-partial-recon
About the project

RedAmon is an AI framework that connects reconnaissance, exploitation, and post-exploitation activities into an automated security-testing pipeline, while organizing findings and proposing code fixes. It is for authorized penetration testing, security research, and education. The catalogue entries provide skills and instructions for working with the framework.

samugit83/redamon · 3,553 stars · on GitHub · redamon.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add samugit83/redamon --skill add-partial-recon
Clone the repo
git clone --depth 1 https://github.com/samugit83/redamon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-partial-recon

README.md
[![agentmods](https://agentmods.dev/badge/skills/samugit83/redamon/add-partial-recon/github.svg)](https://agentmods.dev/skills/samugit83/redamon/add-partial-recon)
Your own site
<a href="https://agentmods.dev/skills/samugit83/redamon/add-partial-recon"><img src="https://agentmods.dev/badge/skills/samugit83/redamon/add-partial-recon/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-partial-recon

Your own site · 80×15
<a href="https://agentmods.dev/skills/samugit83/redamon/add-partial-recon"><img src="https://agentmods.dev/badge/skills/samugit83/redamon/add-partial-recon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.01524
Opus 5.5 $0.00041 $0.00610
Sonnet 5.5 $0.00021 $0.00305
Haiku 4.5 $0.00010 $0.00152

Measured 16d ago against content hash 9fde9dcec5d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-partial-recon scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/add-partial-recon/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Use

  • Making an existing recon tool runnable as a single on-demand phase from the graph.

For adding the tool to the full pipeline, use recon-tool-integration. For the graph write itself, use graph-db-writes. This skill is the partial-recon path: graph-sourced inputs, the modal, and the single-phase re-run.


Critical Rules

  • NEVER let partial-recon results create duplicate nodes. Partial runs merge into the existing graph and must dedup via MERGE on the tenant triple - see graph-db-writes. Partial and full share the same graph.
  • NEVER write back a field the partial run did not measure. A builder rebuilds a full-run dict from the graph; handed whole to a full-pipeline writer, every node in it is rewritten from the graph's own lossy copy. Give the writer only what your tool measured (measured_port_data in port_scanning.py cuts port data to it), or write a dedicated Cypher for your tool's own fields. A shared writer never takes IP.is_cdn from true to false, sets Port.passive_only false only for a port its caller saw (a detail carrying the graph's mark is none: update_graph_from_port_scan in port_mixin.py), and writes enrichment fields (category, sample values, provenance) with coalesce or ON CREATE SET.
  • NEVER expose a graph-only input type as a manual textarea. SECTION_INPUT_MAP in nodeMapping.ts lists what the tool reads from the graph, but only the types that make sense for manual entry get a user field. Types like Port and Endpoint come from the graph only and must not be hand-entered.
  • ALWAYS wire the shared entry so it works in BOTH the full pipeline AND partial recon. Partial recon is spawned as a separate container from the full pipeline (recon_orchestrator/container_manager.py); hook the shared entry function once so both inherit (see recon-ai-enrichment for the same rule).
  • ALWAYS mirror the reference impl matching your tool's input shape, not an arbitrary one: Naabu (Subdomain + IP), Masscan (IP only), Nmap (IP + Port), Katana (URL). The input-node shape drives the whole wiring.
  • ALWAYS read the run's roots through scope_roots(config), NEVER config["domain"]. A Domain-batch run covers every root in config["domains"]; config["domain"] is only the first, so a tool reading it silently skips the rest. test_partial_scope_guard.py fails the gate on a direct read. Pass domain_groups=config.get("domain_groups") (built from the container's SCOPE_GROUPS) to the graph builders so each root keeps its group's scope: an EXACT group, a single-domain prefix list included, scans only its listed hosts. Attach each typed host to the org Domain of its scan root, attach_org(root_for_host(host, roots)): the graph has one Domain per registrable domain, never one per scan root.
  • NEVER re-implement the typed-input scope check in a module. The orchestrator and _prepare_scope (filter_partial_user_input) already dropped every typed host, URL host, over-wide CIDR and out-of-scope attach target, and a typed URL's host joins the writer's scope only through _scope_partial_urls. The run is also refused before your module runs while the graph holds an older scope model's Domain (_legacy_graph_refusal, fails closed).
  • ALWAYS loop an API that takes one domain per call through run_per_root, never a bare for. It fails only the root that raised or called sys.exit, retries a rate-limited root once, and returns the {root: status} the run report and exit code read. Mirror Urlscan (a 429 returns STATUS_RATE_LIMITED) or Shodan.
  • A writer attaches a host through attach_for_host(host, recon_data) (graph_db/mixins/recon/scope.py): the scope is the longest scan root among attach_roots(recon_data) (every project root, from all_project_roots, so a host found under another group's root joins it instead of becoming an ExternalDomain), and the Domain is that root's org (org_for_scan_root). A partial run's recon dicts carry no scope_groups; _prepare_scope sets the run's default (set_project_scope -> set_run_scope_groups), and a dict's own scope_groups always wins.

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +12 lines 9fde9dcec5d1
  2. 1mo ago Changed · +12 lines 28871899f136
  3. 2mo ago Changed · +16 lines 587e73542155
  4. 3mo ago First seen · 71 lines · 103 tokens per session scan A 91b1a9b14280

Subscribe to this mod's changes

add-partial-recon is a skill published in the GitHub repository samugit83/redamon (3,553 stars, last pushed yesterday), licensed MIT. It adds 103 tokens to every session and 1,524 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

add-partial-recon compared with skills from other repositories

add-partial-recon next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-partial-reconsamugit83/redamonSkill3.6kyesterdayMITA103Claude Code, Codex
performing-zero-day-vulnerability-discoveryxalgorix/xalgorixSkill1.5kyesterdayApache-2.0B36Claude Code, Codex
codex-autoresearchTheGreenCedar/codex-autoresearchSkill8401mo agoApache-2.0A55Codex
openai-docsdeonmenezes/mantishackSkill5061mo agoApache-2.0A98Codex
skill-creatordeonmenezes/mantishackSkill5061mo agoApache-2.0A46Codex
ad-attacksmukul975/ThreatswarmSkill1037mo agoMITA39Claude Code
wordlistsmukul975/ThreatswarmSkill1037mo agoMITA25Claude Code