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/navikt/copilotnpx agentmods add skills/navikt/copilot/repo-pii-auditWrote 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-pii-audit)<a href="https://agentmods.dev/skills/navikt/copilot/repo-pii-audit"><img src="https://agentmods.dev/badge/skills/navikt/copilot/repo-pii-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-pii-audit"><img src="https://agentmods.dev/badge/skills/navikt/copilot/repo-pii-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.00060 | $0.02667 |
| Opus 5.5 | $0.00024 | $0.01067 |
| Sonnet 5.5 | $0.00012 | $0.00533 |
| Haiku 4.5 | $0.00006 | $0.00267 |
Grade A, and why
repo-pii-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 25d 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository PII audit and cleanup
Audit first. Do not rewrite history, delete evidence, force-push, change protections, or contact third parties without explicit approval for that action. A request to audit is not permission to clean up.
History rewriting is rød sone — forstå dette grundig: explain the affected refs, lost signatures, changed SHAs, dependent systems, and recovery limits before asking for approval. Follow repository rules even if a generic cleanup guide suggests bypassing protections.
1. Establish scope and contain exposure
- Read
AGENTS.md, security policy, and incident procedures. Confirm repository, owner, visibility, approved local workspace, audit time, and whether the clone is shallow or partial. Never execute repository code or hooks to inspect it. - Identify current tracked, staged, unstaged, untracked and ignored files; all available branches and tags; commit/tag messages and author/committer identities; filenames; submodules and Git LFS. A mirror is not a copy of every server-side object.
- Include forks, other clones, PR refs/diffs/comments, issues, wikis, releases, Actions logs/artifacts/caches, packages, deployed images, backups and external indexes as separate surfaces. Establish which are accessible and who owns them.
- Treat real personal data as a potential incident. Notify the repository owner and use the approved security/privacy channel; involve the privacy officer for notification and retention decisions. Do not make legal breach-reporting decisions yourself. Rotate/revoke exposed credentials immediately through the owner; PII cannot be rotated.
- Keep raw data out of prompts, tool output, terminal scrollback, CI logs, tickets and PRs. Use an approved local-only scanner with network/telemetry disabled or verified absent. Do not send suspected data to an external model or online validator.
- Store reports, replacement maps and any necessary original copy outside the repo in approved restricted storage. Use restrictive permissions (
umask 077), minimal access, an owner and a deletion deadline. Backups preserve the exposure: make them only if incident policy permits. Do not assume deleting a local file securely erases SSDs or backups.
What ships with it
1 file 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.
- 25d ago First seen · 99 lines · 60 tokens per session scan A 00654a5dc73b
repo-pii-audit is a skill published in the GitHub repository navikt/copilot (65 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 2,667 once invoked, about $0.0002 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-05.
repo-pii-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-pii-auditnavikt/copilot | Skill | 65 | yesterday | MIT | A | 60 | 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 |