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 filipebraida/adonisjs-starter-kit --skill auditinggit clone --depth 1 https://github.com/filipebraida/adonisjs-starter-kitWrote 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/filipebraida/adonisjs-starter-kit/auditing)<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/auditing"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/auditing/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/filipebraida/adonisjs-starter-kit/auditing"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/auditing.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.00141 | $0.01448 |
| Opus 5.5 | $0.00056 | $0.00579 |
| Sonnet 5.5 | $0.00028 | $0.00290 |
| Haiku 4.5 | $0.00014 | $0.00145 |
Grade A, and why
auditing 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auditing
The kit keeps a forensic trail in the audits table to answer "what did user X do, when, and from where?". It is the base; each application decides what else to audit, how to mask personal data and how long to keep rows.
Each row: actor (user_type/user_id), event, auditable_type/auditable_id, the diff (old_values/new_values), metadata (resolvers + per-call extras), request_id, created_at.
Rules
- Two ways to record:
- Model CRUD —
compose(..., Auditable)on the model recordscreated/updated/deletedwith the changed fields. Setstatic auditableNamefromAUDITABLE_TYPES,auditMaskfor secrets (['password']),auditExcludefor noise. - Security events —
model.auditCustom(AUDIT_EVENTS.X, { old, new, metadata })inside the action, for what is not a plain model write: role changes (assignments live in authz tables), impersonation, access tokens, invites.
- Model CRUD —
- Write through the model (
save(),delete()) whenever the write must be audited.Model.query().update()/.delete()bypass the hooks and leave no row. - Events are a closed list:
AUDIT_EVENTSinapp/auth/enums/audit_event.ts. Add the value there and its label inusers.activity.events.<value>(every locale). Never store a label in the enum. - Inside a transaction, record on the transaction:
model.useTransaction(trx).auditCustom(...), so a rollback drops the audit too. - Record in the action, not in a listener — the actor and request metadata come from the request's
HttpContext(useAsyncLocalStorage: trueinconfig/app.ts). - Actor under impersonation:
user_idis whoever is signed in — the target. Theimpersonated_byresolver adds the admin behind it from the session mark (currentImpersonation), and drops a stale mark. - Never put a secret in
new/old/metadata— record a token's id and name, never its value. - Silence high-volume routes with the
skipAuditnamed middleware; escape it for one event withauditing.withAuditing(...). - Left to each application (document the choice in the app):
- Masking personal data (CPF, name, e-mail) per field:
static auditMaskwith a strategy (keep-last,keep-first, customredact). - Retention:
node ace audit:prune --days=Non a schedule. - What happens to audit rows when a user is deleted (LGPD/GDPR): keep, anonymize or delete.
- Masking personal data (CPF, name, e-mail) per field:
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 · 91 lines · 141 tokens per session scan A f20bad07c549
auditing is a skill published in the GitHub repository filipebraida/adonisjs-starter-kit (99 stars, last pushed yesterday), licensed MIT. It adds 141 tokens to every session and 1,448 once invoked, about $0.0006 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-16.
auditing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auditingfilipebraida/adonisjs-starter-kit | Skill | 99 | yesterday | MIT | A | 141 | Claude Code |
| calendarcnvmnog/calendarcn | Skill | 164 | 4d ago | MIT | A | 76 | Claude Code, Codex |
| ui-beatsnikhils4/ui-beats | Skill | 236 | 3mo ago | MIT | A | 62 | Claude Code, Codex |
| react-doctorshipkit-io/bones | Skill | 21 | yesterday | none | A | 31 | Claude Code, Codex |
| magic-uimagicuidesign/magicui | Skill | 24k | today | MIT | A | 56 | Claude Code, Codex |
| tanstack-queryKiranism/next-shadcn-dashboard-starter | Skill | 7.3k | 3d ago | MIT | A | 48 | Claude Code, Codex |
| gpt-image-playgroundCookSleep/gpt_image_playground | Skill | 4.2k | 2d ago | MIT | A | 164 | Claude Code, Codex |