security

security is a skill for Claude Code from edenfunf/promptc. It costs 18 tokens per session (313 once invoked), scanned A, original, MIT.

A set of project-wide rules for handling untrusted input, secrets, database queries, logs, and authentication. It includes practices such as parameterized SQL and environment-based secret storage.

In plain words
What is it for?
Use it as guidance while writing or reviewing application code that accepts user input, accesses databases, manages secrets, records logs, or authenticates users.
Why use it?
It helps prevent common security mistakes, including SQL injection, leaked credentials, unsafe input handling, and sensitive data in logs.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it as guidance while writing or reviewing application code that accepts user input, accesses databases, manages secrets, records logs, or authenticates users.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edenfunf/promptc/security
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 edenfunf/promptc --skill security
Clone the repo
git clone --depth 1 https://github.com/edenfunf/promptc

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 security

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/edenfunf/promptc/security"><img src="https://agentmods.dev/badge/skills/edenfunf/promptc/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00018 $0.00313
Opus 5.5 $0.00007 $0.00125
Sonnet 5.5 $0.00004 $0.00063
Haiku 4.5 $0.00002 $0.00031

Measured 1mo ago against content hash ec6f3ba5cf81, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security 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 1mo 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.

examples/bloated-demo/.claude/skills/security/SKILL.md · 48 lines

What it actually says

Security

SQL injection prevention

Always use parameterized queries for every database access. Never concatenate user-provided strings into SQL statements directly. This includes dynamic WHERE clauses, ORDER BY clauses, and table names.

Input validation

Validate and sanitize all user-provided data at the system boundary before it enters business logic. Reject inputs that do not match the expected shape, range, or type. Prefer allowlists over denylists for structured validation rules wherever possible.

Secrets handling

Secrets must never be committed to the repository under any circumstance. Use environment variables, a secrets manager, or a vault. Rotate any leaked credentials immediately and audit access logs after any disclosure event.

Logging

Never log secrets, personally identifiable information, or full request or response bodies. Scrub sensitive fields at the logging boundary using a structured logger. Use structured logging consistently across all services.

Authentication

Use well-audited authentication libraries; do not roll your own crypto. Rotate signing keys on a regular schedule. Expire idle sessions after a reasonable inactivity timeout.

Boundary discipline

Treat any data that crossed a network or process boundary as untrusted until proven otherwise. Apply the same scrutiny to data from other internal services as you would to data from the public internet. The threat model assumes lateral movement; act accordingly across every service-to-service hop in the system.

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. 1mo ago First seen · 48 lines · 18 tokens per session scan A ec6f3ba5cf81

Subscribe to this mod's changes

security is a skill published in the GitHub repository edenfunf/promptc (2 stars, last pushed 5mo ago), licensed MIT. It adds 18 tokens to every session and 313 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

stuck

Diagnoses a broken course setup by reading the folder, so the student never has to describe the problem in English. Takes no argument. Reports which class they are on and which files are filled, then names one blocker and one fix: Claude Code opened at the wrong level, .claude/skills/ missing, skills not loading…

mshadmanrahman/claude-for-designers · 161 tokens

wrap-up

Saves today's work session as a four-line entry (did, decided, open, next) at the top of the project's log.md, after the student confirms it, so a fresh chat can continue tomorrow with /pick-up. Writes to projects/ /log.md or career-vault/log.md, one entry per project touched, never to new-client. Use when the student…

mshadmanrahman/claude-for-designers · 104 tokens

pick-up

Reads the newest entry of a project's log.md and tells the student where they left off: what they did and decided, what is open, and the next step. Takes an optional project name. With several projects and no name, shows a menu of each project's last entry. Read only. Use when the student says pick up, where did I…

mshadmanrahman/claude-for-designers · 93 tokens

grill-me

One move you can run on anything: point grill-me at a target and it makes you defend your thinking from first principles until the true matter is clear. Point it at your working contract and it rewrites the weak lines in place. Point it at a brief and it produces a Requirements Handshake. Point it at research, an…

mshadmanrahman/claude-for-designers · 119 tokens

information-architecture

Map the user journey first, then derive the screen inventory, navigation and hierarchy from it, flagging any screen that serves no journey step. Writes the four-part markdown plus an HTML diagram of the step-to-screen mapping. Use after the brief is settled and before tokens or UI.

mshadmanrahman/claude-for-designers · 60 tokens

persona-acid-test

Stress-test a design through three lenses, confused user, skeptical engineer and impatient PM, before it goes to a stakeholder. Requires an actual design, an HTML file, Figma link or screenshot.

mshadmanrahman/claude-for-designers · 44 tokens