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.
npx skills add navikt/copilot --skill repo-baseline-auditgit clone --depth 1 https://github.com/navikt/copilotWrote 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/skills/navikt/copilot/repo-baseline-audit)<a href="https://agentmods.dev/skills/navikt/copilot/repo-baseline-audit"><img src="https://agentmods.dev/badge/skills/navikt/copilot/repo-baseline-audit/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/skills/navikt/copilot/repo-baseline-audit"><img src="https://agentmods.dev/badge/skills/navikt/copilot/repo-baseline-audit.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.00122 | $0.01227 |
| Opus 5.5 | $0.00049 | $0.00491 |
| Sonnet 5.5 | $0.00024 | $0.00245 |
| Haiku 4.5 | $0.00012 | $0.00123 |
Grade A, and why
repo-baseline-audit 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repo baseline audit
Audit one repository against Nav's baseline and return a checklist report: what is met, what is missing, what could not be verified, and the smallest fix for each gap. This is a read-only configuration and practice audit, not a hunt for vulnerabilities in application logic.
Establish scope
- Resolve the target: the current git checkout by default, plus its
owner/reposlug for GitHub settings. Work from the repository root. - Detect what the repository contains — ecosystems and lockfiles,
Dockerfile,.nais/ornais.yaml, workflows, frontend code. A rule applies only when its Applies when condition holds; otherwise it isN/A. - Note visibility. Public repositories have stricter README contact requirements; non-public repositories must justify being closed.
Collect evidence
Load the rule catalogue and
the evidence commands. Each rule names the evidence
[section] it needs. Collect those sections from the repository root. The
commands never change the repository or its settings, run in bash, zsh and
PowerShell, and never print secret values. A 403 or 404 from GitHub, or a
missing tool, makes the rules that depend on it Not verifiable.
Then assess every applicable rule. For rules marked judgment, sample the
code directly and cite file:line.
Judge the evidence
- A scanner hit is a lead, not a verdict. Apply the playbook's own
exceptions before reporting. GitHub-owned actions (
actions/*,github/*) may use tags, so zizmor'sunpinned-useson them is not a gap. - Missing access means
Not verifiable, neverGap. Branch protection, collaborators, deploy keys and alert lists often need admin rights. - Triage secret hits. Public client keys, test fixtures and examples are
common false positives. Report rule, file and short commit SHA only, never the
value. Treat anything plausibly real as compromised: it is a
Mustgap whose fix is rotation, because history rewrites do not undo exposure. - Use the effective setting. Org defaults, ecosystem defaults
(
pnpm, Nais) and settings inherited from rulesets count as met when the evidence shows they apply. - Leave out rules that do not exist. A per-repo
SECURITY.mdis not required; the org-wide policy innavikt/.githubcovers every repository.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 13d ago First seen · 97 lines · 122 tokens per session scan A f14cdce7b12b
repo-baseline-audit is a skill published in the GitHub repository navikt/copilot (65 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 1,227 once invoked, about $0.0005 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-11-17.
repo-baseline-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-baseline-auditnavikt/copilot | Skill | 65 | yesterday | MIT | A | 122 | Claude Code, Codex |
| artifactscloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 66 | Claude Code |
| skill-upstream-prluongnv89/asm | Skill | 976 | today | MIT | A | 56 | Claude Code |
| skill-changelogluongnv89/asm | Skill | 976 | today | MIT | A | 53 | Claude Code |
| github-review-prfeiskyer/claude-code-settings | Skill | 1.7k | 25d ago | MIT | A | 90 | Claude Code |
| meanest-editorelvisun/newsjack | Skill | 1.7k | 4d ago | MIT | A | 33 | Claude Code |
| ai-visibility-writingelvisun/newsjack | Skill | 1.7k | 4d ago | MIT | A | 137 | Claude Code |