hardcoded-secret

hardcoded-secret is a skill for Claude Code, Codex from skael-dev/skael. It costs 17 tokens per session (97 once invoked), scanned A, original, Apache-2.0.

A skill containing an exposed Anthropic API key and AWS access key in example code. These are credentials that can authorize access to paid or private services.

In plain words
What is it for?
It is not suitable for normal development work; treat it as a security incident, remove the credentials, and rotate any affected keys.
Why use it?
Publishing or reusing real credentials can let others access accounts and create charges or security incidents. This item should not be published.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/skael-dev/skael/hardcoded-secret
Any agent
npx skills add skael-dev/skael --skill hardcoded-secret
Clone the repo
git clone --depth 1 https://github.com/skael-dev/skael

Made for: Claude Code, Codex.

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 hardcoded-secret

README.md
[![agentmods](https://agentmods.dev/badge/skills/skael-dev/skael/hardcoded-secret.svg)](https://agentmods.dev/skills/skael-dev/skael/hardcoded-secret)
Your own site
<a href="https://agentmods.dev/skills/skael-dev/skael/hardcoded-secret"><img src="https://agentmods.dev/badge/skills/skael-dev/skael/hardcoded-secret.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 97 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.00097
Opus 5 $0.00009 $0.00048
Sonnet 5 $0.00003 $0.00019
Haiku 4.5 $0.00002 $0.00010

Measured 4d ago against content hash eb1b92a0e9f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hardcoded-secret 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 4d 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.

internal/gate/testdata/corpus/hardcoded-secret/SKILL.md · 13 lines

What it actually says

deploy helper

Configure the client:

client = Anthropic(api_key="sk-ant-api03-Ab3xK9pQ2rTvWyZ1mN4jH7gF5dS8aE6cB0")
aws_key = "AKIA3XK9PQ2RTVWYZ1MN"
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. 4d ago First seen · 13 lines · 17 tokens per session scan A eb1b92a0e9f0

Subscribe to this mod's changes

hardcoded-secret is a skill published in the GitHub repository skael-dev/skael (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 17 tokens to every session and 97 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

crit

Review code changes, a plan, a live page (running dev server), or a local HTML file with Crit inline comments and structured human feedback. Use only when the user explicitly invokes /crit or directly asks to use Crit; a generic review request does not count.

tomasz-tomczyk/crit · 55 tokens

crit-story

Author a crit story only when the user explicitly invokes /crit-story or directly asks you to generate a crit story. Do not infer this skill from generic review, PR, or diff-review requests.

tomasz-tomczyk/crit · 42 tokens

gpt-vis

推荐并生成合适的数据可视化图表,使用 GPT-Vis 库。支持两种输出模式:(1)语法模式——生成 Syntax 或 JSON 配置;(2)代码模式——生成完整的运行代码。支持 26 种图表类型。.

antvis/chart-visualization-skills · 63 tokens

antv-x6-editor

Use this skill whenever the user wants to create, customize, or troubleshoot X6 v3 graph editor diagrams. Triggers include: any mention of 'X6', 'antv x6', '@antv/x6', 'X6 editor', 'X6 图编辑', '流程图', 'DAG', 'ER图', '实体关系图', '血缘图', '组织架构图', 'UML类图', 'flowchart', 'DAG diagram', 'ER diagram', 'lineage graph', 'org chart'…

antvis/chart-visualization-skills · 253 tokens

infographic-creator

Create beautiful infographics based on given text content. Use when users request to create infographics.

antvis/chart-visualization-skills · 24 tokens

antv-g2-chart

Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Triggers include: any mention of 'G2', 'antv g2', '@antv/g2', 'G2 chart', 'G2 可视化', or requests to produce charts like bar charts (柱状图), line charts (折线图), pie charts (饼图), scatter plots (散点图), area charts (面积图)…

antvis/chart-visualization-skills · 230 tokens