skillid: Instructions file for Claude Code

CLAUDE.md

skillid CLAUDE.md is an instructions file for Claude Code from dkoly/skillid. It costs 566 tokens per session, scanned A, original, MIT.

A project instruction file for Claude Code, an AI coding tool, describing a plugin's architecture, rules, and testing expectations.

In plain words
What is it for?
Use it to guide Claude Code when working on the skillid plugin and its policy files, hooks, connectors, and skills.
Why use it?
It gives the coding agent consistent project-specific guidance, including how tool access is allowed or denied and how connector data is handled.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions .claude-plugin; mentions Claude Code.

This is dkoly/skillid's own configuration. It tells Claude Code how to work on skillid 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 skillid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dkoly/skillid. 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/dkoly/skillid/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/dkoly/skillid

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 skillid CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dkoly/skillid/claude-md/github.svg)](https://agentmods.dev/instructions/dkoly/skillid/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/dkoly/skillid/claude-md"><img src="https://agentmods.dev/badge/instructions/dkoly/skillid/claude-md/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 skillid CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dkoly/skillid/claude-md"><img src="https://agentmods.dev/badge/instructions/dkoly/skillid/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 566 This file is loaded in full into every session.
When invoked 566 The same file — it is already loaded in full.
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.00566 $0.00566
Opus 5.5 $0.00226 $0.00226
Sonnet 5.5 $0.00113 $0.00113
Haiku 4.5 $0.00057 $0.00057

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

Security

Grade A, and why

skillid CLAUDE.md 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 2mo 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.

CLAUDE.md · 46 lines

How it starts

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

Skillid — Project Instructions for Claude Code

This is a Claude Code plugin that enforces org-level agent guardrails via policy-driven hooks and skills.

Architecture

  • policy.yaml — single source of truth. All rules are data, not code.
  • hooks/ — Python scripts that fire on Claude Code tool calls (PreToolUse / PostToolUse).
    • runtime.py — shared helper: reads stdin events, emits JSON decisions, handles audit.
    • registry.py — auto-discovers connector resolvers from hooks/connectors/.
    • pre_tool_use.py — generic enforcer for all connectors. One script, not per-tool.
    • post_tool_read.py — redacts tool output for read_redacted resources.
    • connectors/<name>.py — per-connector resolver. Extracts resource keys from tool inputs, maps tool names to operations.
  • skills/ — Claude Code skills (SKILL.md files). Guidance the model sees in context.
  • .claude-plugin/plugin.json — plugin metadata.

Key design principles

  1. Fail-closed: unknown tools in a known connector → denied. Unresolvable reads/writes → denied, except explicit list/enumeration operations.
  2. Single generic hook: pre_tool_use.py handles all connectors via the registry. Don't create per-tool hook scripts.
  3. Policy as data: all rules live in policy.yaml. Hook logic is generic.
  4. Skills are concise: under 600 tokens each. Model gets awareness; hooks do enforcement.
  5. Adding a connector = add YAML section + one resolver file in hooks/connectors/. See skills/adding-connectors/SKILL.md.

Resource modes

Mode Reads Writes Model sees content?
read_write ✅ ✅ Yes
read_only ✅ ❌ denied Yes
read_redacted ✅ (redacted) ❌ denied PostToolUse attempts replacement; not true isolation
blocked ❌ denied ❌ denied No

Testing

pip install -r requirements.txt
python3 -m pytest tests/ -v

Integration tests run hooks as subprocesses with temp policy files — no mocking of stdin/stdout needed.

Read the full file on GitHub · 46 lines

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 · 46 lines · 566 tokens per session scan A 2db6bb6ed191

Subscribe to this mod's changes

skillid CLAUDE.md is an instructions file published in the GitHub repository dkoly/skillid (0 stars, last pushed 5mo ago), licensed MIT. It adds 566 tokens to every session, about $0.0023 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

skillid CLAUDE.md compared with instructions from other repositories

skillid CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skillid CLAUDE.mddkoly/skillidInstructions file05mo agoMITA566Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,086GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file282k3d agoMITA4,335Codex, OpenCode