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 gul-labs/craftsman-marketplace --skill craft-securitygit clone --depth 1 https://github.com/gul-labs/craftsman-marketplaceWrote 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/gul-labs/craftsman-marketplace/craft-security)<a href="https://agentmods.dev/skills/gul-labs/craftsman-marketplace/craft-security"><img src="https://agentmods.dev/badge/skills/gul-labs/craftsman-marketplace/craft-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.
<a href="https://agentmods.dev/skills/gul-labs/craftsman-marketplace/craft-security"><img src="https://agentmods.dev/badge/skills/gul-labs/craftsman-marketplace/craft-security.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.00138 | $0.02810 |
| Opus 5 | $0.00069 | $0.01405 |
| Sonnet 5 | $0.00028 | $0.00562 |
| Haiku 4.5 | $0.00014 | $0.00281 |
Grade A, and why
craft-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 5d 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 — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Craft
This skill encodes one engineer's standard for defensive security, applied the same way across every repo. The method and opinions live here; the project specifics (which auth provider, which secret store, which validation library) live in the target repo's code and config — always discover them, never assume or hardcode.
Operating principle — discover before you build
Different repos already have different pieces in place. Before changing anything, spend a few minutes mapping the current posture so you extend rather than conflict:
package.json/ lockfile → which auth library, validation library, and HTTP framework are present?grepfor an existing env schema (env.ts,config.ts) — are secrets loaded through a validated schema or read raw fromprocess.env?- Check for an existing middleware file or proxy entry point — are security headers already set, and where?
- Scan
package.jsonfor known-vulnerable pinning patterns; note whether a dependency scanner (npm audit, Snyk, Dependabot) is wired into CI. - Look at existing route handlers — is authorization checked once in middleware, per-route, or not at all?
State what you found, then propose the smallest set of changes that closes the gaps.
The security layers (work in this order)
- Authorization & auth-flow security — enforce least-privilege on every resource (a valid
session does not mean access to everything), and apply the security standard for the
authentication flow (JWT verification criteria: pin the algorithm, reject
alg:none, checkexp/iss/aud). The authN implementation — verifying the session/token and resolving the principal/tenant in the request lifecycle — is owned by craft-backend →auth.md; this layer owns the criteria that verification must meet and the authZ policy on top. Seereferences/authz.md. - Input & output — validate all input at the boundary, encode all output for its target context,
parameterize all queries. Never trust data that crossed a trust boundary. See
references/input-output.md. - Secrets — credentials, tokens, and keys belong in a validated env schema or secret store, not
in source code, logs, or error messages. See
references/secrets.md. - Transport & headers — TLS is table stakes; security headers (CSP, HSTS, X-Frame-Options,
etc.) and a strict CORS policy narrow the attack surface further. See
references/headers-cors.md. - Supply chain — pinned, scanned dependencies with critical vulnerabilities blocking CI. Every
package you import is code you're responsible for. See
references/supply-chain.md. - Data rights — a user-data deletion path exists and cascades, third-party processors get their
own deletion call, an export path exists, and PII is inventoried rather than leaking into logs or
error trackers. Engineering-observable only — not legal advice. See
references/data-rights.md.
What ships with it
6 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.
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.
- 5d ago Changed · +13 lines 2e1c46334961
- 11d ago First seen · 174 lines · 138 tokens per session scan A f09988a63b0e
craft-security is a skill published in the GitHub repository gul-labs/craftsman-marketplace (1 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 2,810 once invoked, about $0.0007 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-31.
Other skills, from other repositories
plumb-line-audit
Use when auditing a diff or repository against the plumb-line principles — finds laundered uncertainty, boundary leaks, hardcoded priors, overstated maturity, outputs lacking recorded lineage, and baseline drift with no explanation. Read-only: it reports, never auto-fixes.
plumb-line-bootstrap
Use when setting up a project with the plumb-line discipline — interviews the builder to find their source-truth layer and layering, generates a domain-neutral ruleset, and installs parameterized enforcement (boundary check, test gate, pre-commit gate, branch guard) for the project's language. Ships no default layers…
plumb-line-remediate
Use when applying findings from a plumb-line audit report — the builder has a report (or pasted findings) and wants the fixes made. Opt-in and separate from the audit, which is read-only and never fixes.
plumb-line-adopt
Use when a builder wonders what plumb-line would do for their codebase or which part to adopt — or when, mid-task, their work shows a fit signal (adding a mock or fallback near a production path, mixing fixture, cached, or LLM/agent-produced data with real data) and visible uncertainty would help. Inspects the repo…
plumb-line-method
Use when a builder wants to learn or be reminded of the plumb-line method — the discipline of epistemic honesty enforced by tooling. Teaches the thesis, the nine portable principles, the maturity vocabulary, and the one-line test. Pure knowledge; takes no actions.
setup-craft-skills
Run once per repository to get the most out of the other craft skills (explain-back, name-things, delete-this, seams, loud-errors, boyscout, why-comments, fit-in). Scaffolds an optional shared CONTEXT.md — domain glossary, language/stack, conventions, and untouchables — that those skills read to match your project's…