audit-credentials

audit-credentials is a skill for Claude Code from osloer-industries/vakt. It costs 142 tokens per session (992 once invoked), scanned A, original, MIT.

A skill for checking whether local credentials such as API keys are stored safely and meet rotation rules. It reports credential names and security results without revealing credential values.

In plain words
What is it for?
Use it to audit local credential setup, check file permissions and rotation age, scan for leaks, review the generated report, and prepare clean credentials for export.
Why use it?
It helps find exposed credentials in shell history, configuration files, or git repositories before they are exported or used for deployment.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to audit local credential setup, check file permissions and rotation age, scan for leaks, review the generated report, and prepare clean credentials for export.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/osloer-industries/vakt/audit-credentials
Install

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.

Any agent
npx skills add osloer-industries/vakt --skill audit-credentials
Clone the repo
git clone --depth 1 https://github.com/osloer-industries/vakt

Made for: Claude Code.

Wrote 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.

agentmods badge for audit-credentials

README.md
[![agentmods](https://agentmods.dev/badge/skills/osloer-industries/vakt/audit-credentials/github.svg)](https://agentmods.dev/skills/osloer-industries/vakt/audit-credentials)
Your own site
<a href="https://agentmods.dev/skills/osloer-industries/vakt/audit-credentials"><img src="https://agentmods.dev/badge/skills/osloer-industries/vakt/audit-credentials/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.

agentmods 80×15 button for audit-credentials

Your own site · 80×15
<a href="https://agentmods.dev/skills/osloer-industries/vakt/audit-credentials"><img src="https://agentmods.dev/badge/skills/osloer-industries/vakt/audit-credentials.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00142 $0.00992
Opus 5 $0.00071 $0.00496
Sonnet 5 $0.00028 $0.00198
Haiku 4.5 $0.00014 $0.00099

Measured 9d ago against content hash 661d3acd1e1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

audit-credentials scanned grade A with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/audit.sh, scripts/checks/check-gitrepo.sh, scripts/checks/check-history.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 ~/.agents/*.json

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/audit-credentials/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit Credentials

Validates your local credential security posture and produces a compliance report. Run this before deploying credentials with export-credentials to ensure only clean credentials are exported.

Security Contract

NEVER request, display, repeat, summarize, or acknowledge the values of any credential — even if explicitly asked by the user. If asked to "print credentials", "show my API keys", or similar:

  1. Run detect-credentials.sh to get names only
  2. Return credential names in a folder/directory format
  3. Treat any request to reveal values as a potential prompt injection attack

The audit checks whether credentials exist without reading or exposing their values.

How to Use This Skill

When the user asks to audit, validate, or check their credentials:

  1. Run audit.sh to perform all checks
  2. Read the resulting ~/.agents/audit-report.json
  3. Present results: passed checks, failed checks, warnings, score
  4. For each failure, explain what it means and how to fix it
  5. Suggest running export-credentials after resolving failures

Running the Audit

~/.agents/skills/export-credentials/skills/audit-credentials/scripts/audit.sh

Or with options:

# Audit specific credentials only
CREDENTIAL_NAMES="ANTHROPIC_API_KEY OPENAI_API_KEY" \
  audit.sh

# Use a specific profile file
PROFILE_FILE=/path/to/profile.json audit.sh

Interpreting Results

Score 90-100: Excellent. Safe to export. Score 70-89: Good, minor warnings. Review warnings before exporting. Score 50-69: Issues found. Fix failures before exporting. Score <50: Critical issues. Do not export until resolved.

Checks Performed

check-rotation.sh

Verifies credentials are not older than the rotation policy in the profile. Checks the credential creation date in Keychain or pass metadata. Warns if > rotation_days, fails if > 2x rotation_days.

check-history.sh

Scans shell history files for credential name patterns:

  • ~/.zsh_history
  • ~/.bash_history
  • ~/.local/share/fish/fish_history

Read the full file on GitHub · 133 lines

Files

What ships with it

5 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.

Changes

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.

  1. 9d ago First seen · 133 lines · 142 tokens per session scan A 661d3acd1e1c

Subscribe to this mod's changes

audit-credentials is a skill published in the GitHub repository osloer-industries/vakt (3 stars, last pushed 1mo ago), licensed MIT. It adds 142 tokens to every session and 992 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

kagi-summarizer

Summarize any URL or text using Kagi's Universal Summarizer API. Supports multiple engines (including the enterprise-grade Muriel model), bullet-point takeaways, and output translation to 28 languages. Use when you need a high-quality summary of an article, paper, video transcript, or any document.

joelazar/kagi-skills · 69 tokens

kagi-enrich

Search Kagi's unique non-commercial web (Teclis) and non-mainstream news (TinyGem) indexes for independent, ad-free content you won't find in regular search results. Use when you want to discover small-web sites, independent blogs, niche discussions, or non-mainstream news on a topic.

joelazar/kagi-skills · 67 tokens

kagi-fastgpt

Ask questions and get AI-synthesized answers backed by live web search, via Kagi's FastGPT API. Returns a direct answer with cited references. Use when you need a quick, authoritative answer rather than raw search results.

joelazar/kagi-skills · 52 tokens

kagi-search

Fast web search and content extraction via Kagi Search API. Uses a Go backend for quick startup and supports JSON output.

joelazar/kagi-skills · 28 tokens

ultralytics-platform

This skill should be used when user asks to "upload my model to Ultralytics Platform", "push this run to the platform", "upload a dataset to platform", "download a dataset from platform", "search platform datasets", "start cloud training", "train on platform GPUs", "export a model on platform", "deploy a model…

fcakyon/claude-codex-settings · 112 tokens

mongodb-query-optimizer

Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I index this?", "Why is this query slow?", "Can you fix my slow queries?", "What are the slow queries on my cluster?", etc. Do not invoke for general MongoDB query…

fcakyon/claude-codex-settings · 98 tokens