custom-prompt

custom-prompt is a skill for Claude Code, Codex from duc01226/EasyPlatform. It costs 47 tokens per session (4,956 once invoked), scanned A, original, MIT.

A project-configuration guide for making Codex load repository instructions explicitly and follow defined workflows.

In plain words
What is it for?
It helps Codex handle coding, planning, debugging, testing, reviews, task tracking, and user questions according to the repository’s documented rules.
Why use it?
It prevents missing project guidance or silently changing the order of required steps when working in a repository shared with other coding tools.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions subagents; installed under .agents/ (shared by several agents).

Good fit It helps Codex handle coding, planning, debugging, testing, reviews, task tracking, and user questions according to the repository’s documented rules.

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

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 custom-prompt

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/duc01226/easyplatform/custom-prompt"><img src="https://agentmods.dev/badge/skills/duc01226/easyplatform/custom-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,956 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.00047 $0.04956
Opus 5.5 $0.00019 $0.01982
Sonnet 5.5 $0.00009 $0.00991
Haiku 4.5 $0.00005 $0.00496

Measured 3d ago against content hash 87356c481fdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

custom-prompt 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 3d 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.

.agents/skills/custom-prompt/SKILL.md · 233 lines

How it starts

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

Codex compatibility note:

  • Invoke $skill-name: load the registered .agents/skills/<name>/SKILL.md and execute it with Codex tools; no separate Skill tool or Claude mode switch is needed. Author .claude/**; mirrors are generated.
  • Track steps before execution and keep progress/evidence current. Explicit skill requests execute their protocol. Use the native question tool for required questions.
  • Map foreign tool names to available host capabilities. A name mismatch needs no approval; an actually unavailable required capability stops with its step/evidence and a user question before adaptation.
  • Subagent authorization: when a skill is user-invoked or AI-detected and its protocol requires subagents, that skill activation authorizes use of the required spawn_agent subagent(s) for that task.
  • Preserve protocol order unless the user approves a deviation. Workflows use $start-workflow: gates stay fixed; other steps may flex with logged reasons and evidence.

Quick Summary

Goal: Give a project a registry of named, reusable prompts — each with a name, a one-line description, and a prompt body that reads like a mini-skill — and route a free-text user request to the right one, always confirming the match with the user before executing it.

Summary: read-this-if-nothing-else digest —

  • Two files, two jobs. The INDEX (custom-prompts-reference.md under the reference-docs root — default docs/project-reference, overridable via docsRoots.projectReference.path in docs/project-config.json) holds only name + description + triggers and is what you read to MATCH. The BODY (docs/project-prompts/<slug>.md) holds the actual protocol and is read only AFTER the user confirms. Never read all bodies to answer a match.
  • Matching NEVER auto-executes. Score candidates from the index, then ask user question tool with the top matches plus an explicit escape option. A confident match is still a guess about intent — only the user can confirm it.
  • Project payload, not framework. These prompts live under docs/, never under .claude/. .claude/ is the portable harness; custom prompts are this project's content. A prompt that stabilizes and generalizes gets PROMOTED to a real skill via $skill-creator — it is not born as one.
  • Save = author the best version, then get it confirmed. The user's raw wording is raw material, never the artifact. Infer the goal, generalize it, rewrite it into a crisp name + one-line description + imperative steps + falsifiable success criteria — then show the draft, say what you changed and why, and let the user accept, correct, or keep their own wording verbatim. Also run the match pass first to catch a near-duplicate and offer update-instead-of-create.
  • Never auto-commit. Report what changed and stop.

Workflow:

  1. Resolve mode — parse the invocation into list | match | save | update | delete (Phase 0)
  2. Load index — read the index doc; if missing or empty, branch to the empty-registry path
  3. Execute mode — LIST (Phase 1) · MATCH + confirm (Phase 2) · RUN (Phase 3) · SAVE/UPDATE (Phase 4) · DELETE (Phase 5)
  4. Sync index — any body write updates the index row in the same turn; the two never drift
  5. Discovery check — a written body leads with its goal and when to use it and ends with its success criteria and guardrails; the index keeps its purpose header on top and stays routed from the docs index
  6. Report — state the file(s) touched and the mode taken; never commit

Key Rules:

MUST ATTENTION resolve the mode FIRST — a leading list/save/update/delete token is a MODE, everything else is a MATCH request; ambiguous → ask, never guess MUST ATTENTION MATCH mode ends at an ask user question tool confirmation gate — NEVER execute a matched prompt without explicit user confirmation, no matter how high the score MUST ATTENTION read the index to match, read ONE body to execute — never bulk-read bodies MUST ATTENTION SAVE authors an improved version and ends at a proposal gate — NEVER write a rewrite the user has not seen, and always offer "save my wording verbatim" MUST ATTENTION every write updates BOTH the body file and its index row atomically in the same turn

Read the full file on GitHub · 233 lines

Files

What ships with it

2 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. 3d ago Changed · -149 lines · -125 tokens per session 87356c481fdf
  2. 1mo ago First seen · 382 lines · 172 tokens per session scan A a7626ef130fd

Subscribe to this mod's changes

custom-prompt is a skill published in the GitHub repository duc01226/EasyPlatform (12 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 4,956 once invoked, about $0.0002 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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens