agentleFS
abm9111abm9111/vigil/SKILL.md

vigil

Skill1 starsChanged 4 months agoApache-2.0View on GitHub

Codebase quality and compliance audit. Use when the user says /vigil for scan/audit/score of application code.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. simota/agent-skills★ 106same name
    2. Rynaro/magicite★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default mode if omitted: audit

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/vigil — Vigilant Infrastructure & Governance Intelligence Layer

Trigger: user says /vigil followed by optional mode and flags.

/vigil [mode] [--flags] [target]

Modes

ModeTimeDepthWhat it does
scan30sSurfaceQuick domain scores, critical findings only
audit5-15minDeepFull findings + correlation + compliance gaps
siege20-30minExhaustiveAdversarial attack scenarios + blast radius
watch15sDiff-onlyNew/fixed/regressed since baseline (CI gate)
score30sNumericSingle 0-100 score + trend
compare2-5minDiffSide-by-side branch/commit comparison

Default mode if omitted: audit

Companions

CommandWhatTime
/vigil-diffAudit only staged/unstaged changes30s
/vigil-explain [ID]Deep-dive a specific finding1min
/vigil-baselineSave current state as comparison baseline10s
/vigil-bounty [--platform h1|bc|immunefi]Generate platform-ready bounty submission2-5min
/vigil-recon [--target domain] [--depth quick|standard|deep]Reconnaissance pipeline → VIGIL handoff2-15min
/vigil-triage [--budget N_hours]Prioritize findings by exploitability & payout3-5min
/vigil-track [add|update|status|report]Bounty, CVE, engagement & revenue tracking10s

Execution Router

For ANY /vigil invocation:

  1. Read RULES.md — Iron rules for all auditing (always)
  2. Read FLAGS.md — Parse user flags
  3. Detect project stack — scan for package.json, requirements.txt, Cargo.toml, go.mod, Dockerfile, etc.
  4. Load Context (v2) — Check for .vigil/context.md, vigil-context.md, .vigil/context.json, or vigil-context.json. If found, load and apply using engines/context-loader.md. This step happens before clusters run.
  5. Run preflight — per engines/preflight.md. Probe every tool the selected clusters require, compute per-cluster evidence ceilings, and emit the capability report. A cluster with no available required tools is N/E, and an audit containing an N/E cluster can never return a pass verdict.
  6. Load mode-specific files:
ModeLoad
scanmodes/scan.md, clusters/code-health.md, clusters/security.md, engines/preflight.md, engines/scoring.md
auditmodes/audit.md, ALL clusters/, engines/preflight.md, engines/scoring.md, engines/correlation.md
siegemodes/siege.md, ALL clusters/, ALL engines/, ALL compliance-maps/, ALL domains/
watchmodes/watch.md, clusters/code-health.md, clusters/security.md
scoremodes/score.md, ALL clusters/, engines/scoring.md
comparemodes/compare.md, ALL clusters/, engines/scoring.md
  1. Skip N/A clusters — only load clusters relevant to detected stack. N/A (does not apply) and N/E (applies, no tools available) are different states — see engines/scoring.md.
  2. Run deterministic tools FIRST — every finding must start with tool output, not opinion
  3. AI reasoning SECOND — interpret, correlate, prioritize tool output
  4. Score and report — per engines/scoring.md. Apply severity floors and evidence ceilings; never emit a pass verdict while a cluster is N/E.
  5. Write a run record, then ask — per engines/telemetry.md. One content-free JSON file in the audited repo's own .vigil/runs/. Local only; never transmitted. The run is not finished until the user has been told the record exists and asked whether to share it — default no, enter selects no, a non-interactive session counts as no, and a decline is never re-asked. Sharing writes a bundle the user attaches to a PR themselves; VIGIL has no endpoint.

Flag Quick Reference

See FLAGS.md for full details.

FlagEffect
--fixAuto-fix fixable issues, re-validate
--ciMachine-readable output (SARIF/JSON), exit codes
--strictTreat warnings as errors
--only <cluster>Audit single cluster (e.g., --only security, --only egress)
--ignore <id>Suppress specific finding IDs
--format <fmt>Output format: terminal (default), json, sarif, markdown
--baseline <path>Compare against saved baseline
--compliance <std>Map findings to standard: soc2, iso27001, owasp

Cluster Reference

ClusterFileCovers
Code Healthclusters/code-health.mdLint, types, tests, coverage, git hygiene, DX
Securityclusters/security.mdOWASP, secrets, deps, supply chain
API & Networkingclusters/api-and-networking.mdREST/GraphQL design, client patterns
Data & Persistenceclusters/data-and-persistence.mdDB, migrations, data integrity
Infrastructure & DevOpsclusters/infrastructure-and-devops.mdDocker, CI/CD, IaC, observability
Frontend & Mobileclusters/frontend-and-mobile.mdReact, a11y, i18n, mobile
Performanceclusters/performance.mdPerf, concurrency, resource usage
Compliance & Docsclusters/compliance-and-docs.mdRegulatory, documentation
AI & MLclusters/ai-and-ml.mdML pipelines, model drift, bias
Blockchainclusters/blockchain.mdSolidity, Vyper, Move, smart contracts, DeFi
Data Egress & Provenanceclusters/data-egress-and-provenance.mdExports, bundles, PII in files, AI-content labelling, reproducibility

Skill Integration

When you needUse
Quick lint/format fix/build-guardian (hooks, <1s)
Deep multi-domain audit/vigil audit (this skill)
Security config scan/security-scan-ecc (Claude config only)
Strategic decision about findings/crux analyze

Reference Files

FileContents
RULES.mdIron rules, severity definitions, evidence requirements
evals/README.mdFixture-based recall / false-positive measurement + repo self-audit
lessons/README.mdLedger of times VIGIL was wrong, and what now catches that class
proof/README.mdTimes VIGIL was right on a real codebase — the other half of the record
FLAGS.mdAll flags with defaults and interactions
engines/correlation.md10 cross-domain correlation patterns — 7 adversarial, 3 non-adversarial
engines/preflight.mdTool probing, evidence ceilings, capability report (runs first)
engines/scoring.md0-100 weighted scoring + grades, severity floors, N/E
engines/fix-engine.mdAuto-fix + re-validate loop
engines/ci-adapter.mdSARIF/JSON output + exit codes
engines/semgrep-orchestrator.mdSemgrep/CodeQL parallel scanning + SARIF merge
engines/report-generator.mdConsulting deliverables (ComplianceSprint, SiegeReport, Retainer)
engines/contract-orchestrator.mdSlither + Aderyn + Echidna smart contract pipeline
engines/tracking.mdBounty, CVE, engagement & revenue tracking
engines/context-loader.mdContext file discovery, parsing, and application (v2)
engines/telemetry.mdContent-free run records — how VIGIL learns from real use without ingesting it
docs/FIELD-LOOP.mdThe full loop with ten contributors, and every place it is allowed to stop
corpus/README.mdContributed bundles — why rates count contributors, not rows
CONTEXT.mdDesign and usage guide for project context awareness (v2)
compliance-maps/SOC2, ISO 27001, OWASP 2025 mappings
companions/7 micro-commands (diff, explain, baseline, bounty, recon, triage, track)
adapters/Cursor, Copilot, portable adapter configs

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.