ctx

ctx is a skill for Claude Code from jpoutrin/product-forge. It costs 16 tokens per session (1,534 once invoked), scanned A, original, MIT.

A document lookup tool that finds Product Requirements Documents, Feature Requirements Documents, technical specifications, and RFCs by ID, name, or file path. It loads the matching document into the agent’s working context.

In plain words
What is it for?
Use it to bring product plans, feature requirements, technical specifications, or design proposals into a coding session.
Why use it?
It removes the need to manually search for and open project documents before asking the agent to use them.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the product-design plugin — 43 skills, 8 agents shipped together

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.

agentmods
npx agentmods add skills/jpoutrin/product-forge/ctx
Any agent
npx skills add jpoutrin/product-forge --skill ctx
Clone the repo
git clone --depth 1 https://github.com/jpoutrin/product-forge

Made for: Claude Code.

Or install product-design, the plugin that ships this one along with the rest of its 43 skills, 8 agents.

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 ctx

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpoutrin/product-forge/ctx.svg)](https://agentmods.dev/skills/jpoutrin/product-forge/ctx)
Your own site
<a href="https://agentmods.dev/skills/jpoutrin/product-forge/ctx"><img src="https://agentmods.dev/badge/skills/jpoutrin/product-forge/ctx.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00016 $0.01534
Opus 5 $0.00008 $0.00767
Sonnet 5 $0.00003 $0.00307
Haiku 4.5 $0.00002 $0.00153

Measured 2d ago against content hash 703f6dcadd6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ctx 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 2d 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.

plugins/product-design/skills/ctx/SKILL.md · 229 lines

How it starts

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

ctx (Context Hydration)

Category: Context Management

Usage

/ctx <doc-reference>

Arguments

  • <doc-reference>: Required - Document identifier or path. Accepts:
    • Document IDs: PRD-001, FRD-042, TS-0045, RFC-0042
    • Partial names: user-auth, payment-gateway
    • File paths: ./product-docs/prds/active/user-auth-prd.md

Execution Instructions for Claude Code

When this command is run, Claude Code should:

  1. Identify Document Type and Location

    Search order by ID prefix:

    Prefix Type Search Locations
    PRD- Product PRD product-docs/prds/
    FRD- Feature PRD product-docs/prds/
    TS- Tech Spec tech-specs/
    RFC- RFC rfcs/

    If no prefix, search all locations for partial name match.

  2. Search for Document

    # Search patterns by type
    PRD/FRD: product-docs/prds/**/*<query>*.md
    Tech Spec: tech-specs/**/*<query>*.md
    RFC: rfcs/**/*<query>*.md
    
  3. Handle Multiple Matches

    If multiple documents match, display options:

    Multiple documents match "auth":
    
    1. PRD-001-user-authentication-prd.md (PRD)
    2. FRD-015-oauth-integration-frd.md (FRD)
    3. TS-0044-auth-implementation.md (Tech Spec)
    4. RFC-0043-auth-redesign.md (RFC)
    
    Which document to load? [1-4]
    
  4. Read and Present Document

    Read the full document content and present with context header:

    ═══════════════════════════════════════════════════════════
    📄 CONTEXT LOADED: PRD-001 - User Authentication System
    ═══════════════════════════════════════════════════════════
    
    Type:     Product PRD
    Status:   ACTIVE
    Version:  1.2
    Location: product-docs/prds/active/PRD-001-user-authentication-prd.md
    
    Related Documents:
    - Tech Spec: TS-0044-auth-implementation.md
    - Tasks: tasks/PRD-001-tasks.md
    
    ───────────────────────────────────────────────────────────
    
    [Full document content here]
    
    ═══════════════════════════════════════════════════════════
    Context loaded. Ready to work on this document.
    ═══════════════════════════════════════════════════════════
    

Read the full file on GitHub · 229 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. 2d ago First seen · 229 lines · 16 tokens per session scan A 703f6dcadd6a

Subscribe to this mod's changes

ctx is a skill published in the GitHub repository jpoutrin/product-forge (15 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 1,534 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

obsidian

Obsidian vault: search/read/write notes, backlinks, Bases, Canvas.

steipete/agent-scripts · 19 tokens

loopx-doc-registry

Use when a connected LoopX project is asked to read, remember, record, index, register, or use a durable project material such as a Lark/wiki/design doc, research note, SOP, owner packet, migration report, benchmark paper, or external material source. Use even when the user does not mention LoopX or doc registry.

huangruiteng/loopx · 74 tokens

mindos-zh

MindOS 是用户的本地知识助手,也是跨会话、跨 Agent 共享的知识库。它保存决策记录、会议纪要、SOP、 排错经验、架构选型、调研结论和偏好设置。 仅 mindRoot 知识库内任务。不用于:改代码仓库、项目源码、KB 外路径。 核心概念:空间、指令(INSTRUCTION.md)、技能(SKILL.md);笔记可承载指令与技能。 触发场景:保存或记录任何内容、搜索历史笔记或上下文、更新或编辑文件、整理或重组文件结构、 执行SOP或工作流、捕获对话中的决策、复盘或总结经验、追加表格或CSV数据、跨Agent交接上下文、 提炼经验教训、同步关联文档、查找之前是否讨论过某事、查询历史决策、查找模板或SOP、…

GeminiLight/MindOS · 490 tokens

excel-author

Create and edit Excel (.xlsx) workbooks with openpyxl. Supports formulas, charts, formatting, and data analysis.

fuyuxiang/echo-agent · 28 tokens

ppt-author

Create and edit PowerPoint (.pptx) presentations programmatically. Requires python-pptx.

fuyuxiang/echo-agent · 22 tokens

ocr-document

Extract text from PDFs, images, and scanned documents. Uses pymupdf (local) or optional cloud OCR APIs.

fuyuxiang/echo-agent · 27 tokens