Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/assafkip/investigators-copilotnpx agentmods add commands/assafkip/investigators-copilot/q-corpWrote 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.
[](https://agentmods.dev/commands/assafkip/investigators-copilot/q-corp)<a href="https://agentmods.dev/commands/assafkip/investigators-copilot/q-corp"><img src="https://agentmods.dev/badge/commands/assafkip/investigators-copilot/q-corp/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.
<a href="https://agentmods.dev/commands/assafkip/investigators-copilot/q-corp"><img src="https://agentmods.dev/badge/commands/assafkip/investigators-copilot/q-corp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01037 |
| Opus 5.5 | $0.00000 | $0.00415 |
| Sonnet 5.5 | $0.00000 | $0.00207 |
| Haiku 4.5 | $0.00000 | $0.00104 |
Grade A, and why
q-corp 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 15d 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.
What it actually says
Public-records sweep for a company or person: SEC/EDGAR, Form D, UK Companies House, FEC, lobbying (LDA), FAA aircraft registry, EU tenders.
Active case: read the case folder name from the first line of .active-case (written by /q-begin and /q-new-case). Every output lands in investigations/<case>/investigation/evidence/raw-collections/<ts>-pp-<cli>/ (output.txt, stderr.txt, command.txt). If .active-case is missing or empty, ask the founder which case to use.
Tooling: the mvanhorn printing-press library CLIs (Go binaries, run as subprocesses). Check and install:
bash skills/osint/scripts/install-pp.sh list
bash skills/osint/scripts/install-pp.sh install # all seven, needs Go
bash skills/osint/scripts/install-pp.sh install edgar fec # or a subset
Keys: COMPANY_PP_CONTACT_EMAIL (SEC fair-access User-Agent; edgar-pp-cli refuses to run without it), COMPANIES_HOUSE_API_KEY (UK lookups), FEC_API_KEY_QUERY_AUTH (DEMO_KEY works, rate-limited), LDA_API_KEY (optional). If a CLI is missing, say which and offer the install line; do not substitute a web scrape silently.
Steps:
- Parse
$ARGUMENTS: the subject (company name, domain, ticker, person, N-number) and optional source list. Default: all sources that fit the subject type. - Run each source through the saving wrapper (always
run ... --, never the bare binary, so the output is kept):
Subcommands change between releases: when a command errors, runP=skills/osint/scripts/install-pp.sh # SEC / EDGAR bash $P run edgar -- primary-sources <TICKER> --json bash $P run sec-edgar -- companies lookup "<name or ticker>" --json bash $P run sec-edgar -- filings list --cik <CIK> --limit 20 --json # Form D (private raises, US) and UK Companies House bash $P run company-goat -- funding --domain <domain> --json bash $P run company-goat -- funding --who "<Person Name>" --json bash $P run company-goat -- legal --region uk <company> --json # Campaign finance / lobbying bash $P run fec -- --help # pick the committee / contributor command from the help, then rerun bash $P run lda-gov -- entities resolve "<name>" --agent --limit 10 bash $P run lda-gov -- search "<name>" --type filings --limit 10 # Aircraft bash $P run faa-registry -- aircraft lookup <N-number> bash $P run faa-registry -- owners "<owner name>" # EU procurement bash $P run eu-tenders -- winner "<company>" --agent bash $P run eu-tenders -- buyer --name "<buyer>" --show-winners --agentbash $P run <cli> -- <command> --helpand adapt, do not guess flags twice. - Tier the results (
.claude/rules/q-investigation.md): a registry record is T1 for what the record says (filer, officer, amount, date, registration). A name match between a registry record and a target is 0 crosslinks until a second identifier (address, CIK, LEI, company number, email domain, signature) ties them. - Capture the record pages you will cite as EV items:
bash skills/osint/scripts/capture-evidence.sh "<sec.gov / find-and-update.company-information.service.gov.uk / fec.gov / lda.gov / registry.faa.gov / ted.europa.eu URL>" <slug> --platform <registry> - Record load-bearing numbers (amounts, counts, dates) in the evidence ledger before they go into a deliverable (
.claude/rules/investigation-claims-ledger.md). - Report: per source, what was found (with the raw-collections path), what is T1, the EV IDs captured, name-only matches flagged as unverified, and sources skipped for missing keys/binaries.
Rules:
- Fail-stop: a CLI error you cannot resolve with its own
--helpis a stop; tell the founder which CLI, which command, and the stderr. - Never put API keys in commands that get saved to
command.txt; use the env vars above.
Argument: $ARGUMENTS (subject, plus optional sources: sec, formd, uk, fec, lda, faa, eu)
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.
- 15d ago First seen · 49 lines · 0 tokens per session scan A 2ad794a6cfbf
q-corp is a command published in the GitHub repository assafkip/investigators-copilot (77 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,037 tokens. 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-11-15.
q-corp compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| q-corpassafkip/investigators-copilot | Command | 77 | 28d ago | MIT | A | 0 | Claude Code |
| q-new-caseassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-client-questionsassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-screenshotsassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-endassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-intakeassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-osintassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |