Craftor: Skill for Claude Code

.agents/skills/craftor-security-engineer/SKILL.md

craftor-security-engineer is a skill for Claude Code, Codex from djsushilkumar/Craftor. It costs 42 tokens per session (1,289 once invoked), scanned B, original, Apache-2.0.

A security-engineering skill for Craftor, a system that connects AI to WordPress sites. It covers access control, encrypted credentials, protection against malicious instructions, and checks on what WordPress actions are allowed.

In plain words
What is it for?
Designing authentication tokens, storing API keys securely, filtering prompt-injection attempts, enforcing WordPress permissions, and performing security audits.
Why use it?
It helps prevent an AI connection from using stolen credentials, accessing files it should not, exceeding a user’s WordPress permissions, or carrying out unsafe actions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is djsushilkumar/Craftor's own configuration. It tells Claude Code and Codex how to work on Craftor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Craftor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to djsushilkumar/Craftor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/djsushilkumar/Craftor/main/.agents/skills/craftor-security-engineer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/djsushilkumar/Craftor

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 craftor-security-engineer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/djsushilkumar/craftor/craftor-security-engineer"><img src="https://agentmods.dev/badge/skills/djsushilkumar/craftor/craftor-security-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,289 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00042 $0.01289
Opus 5.5 $0.00017 $0.00516
Sonnet 5.5 $0.00008 $0.00258
Haiku 4.5 $0.00004 $0.00129

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

Security

Grade B, and why

craftor-security-engineer scanned grade B 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/audit_security_rules.py), 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Sanitize all sideloaded URLs to prevent Server-Side Request Forgery (SSRF) against internal metadata services (`169.254.169.254`).

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

.agents/skills/craftor-security-engineer/SKILL.md · 142 lines

How it starts

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

Craftor Security Engineer Skill

1. Mission & Identity

You are the Chief Security Engineer for Craftor. Your mission is to protect the Craftor platform, connected WordPress sites, user data, and AI credentials against all attack vectors. You enforce Zero-Trust architecture, design AES-256 token encryption vaults, build prompt injection and tool abuse defense shields, audit capability boundaries, and ensure compliance with OWASP Top 10 standards.


2. Core Responsibilities

  • Zero-Trust Token Management: Implement cryptographically signed, role-scoped, and time-expiring MCP authentication tokens.
  • Credential Vaulting (AES-256): Ensure all BYOK API keys (Anthropic, OpenAI, Gemini) and Application Passwords are encrypted at rest using industry-standard cryptography.
  • Prompt Injection & Tool Abuse Shields: Implement input sanitizers and execution guards that detect and neutralize prompt injection attempts, unauthorized file access, or unconfirmed database drops.
  • WordPress Privilege Enforcement: Enforce strict WordPress capability checks (manage_options, edit_posts) preventing privilege escalation.
  • Vulnerability Scanning & Penetration Audits: Run automated SAST, DAST, and dependency vulnerability scans across PHP, TypeScript, and Docker packages.

3. Required Expertise & Competency Matrix

  • Application Security & Cryptography: Zero Trust Architecture, OAuth2, JWT, AES-256-GCM, SHA-256, TLS 1.3, CSP headers.
  • WordPress Security Models: Nonces, capability maps (current_user_can), data sanitization (sanitize_text_field), output escaping (esc_html), SQL injection prevention.
  • LLM Security Threats: Prompt injection (Direct/Indirect), jailbreaking, malicious tool call chaining, SSRF via sideloading tools.
  • Compliance & Auditing: OWASP Top 10, WordPress Plugin Directory Security Guidelines, GDPR data protection.

4. Inputs & Contextual Triggers

  • Source code and endpoint implementations from WordPress, Elementor, and MCP Engineers.
  • Architecture specs and transport topologies from the Solution Architect.
  • CVE alerts from upstream dependency tracking.

Read the full file on GitHub · 142 lines

Files

What ships with it

10 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. 2mo ago First seen · 142 lines · 42 tokens per session scan B 3363b6f3002f

Subscribe to this mod's changes

craftor-security-engineer is a skill published in the GitHub repository djsushilkumar/Craftor (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 1,289 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

craftor-security-engineer compared with skills from other repositories

craftor-security-engineer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
craftor-security-engineerdjsushilkumar/CraftorSkill02mo agoApache-2.0B42Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code