prompt-eng

prompt-eng is an agent for Claude Code from ryanzhao1011/workframe. It costs 61 tokens per session (896 once invoked), scanned A, original, MIT.

A role for designing, testing, and improving the instructions given to AI models, often called prompts. It keeps each prompt and its changes in files so they can be compared and reviewed.

In plain words
What is it for?
Use it to create reusable prompt templates, study model behaviour, run A/B tests, define quality checks, and document prompt experiments and strategy changes.
Why use it?
It helps teams improve AI results systematically instead of relying on undocumented changes in chat. It also separates prompt work from application code and records why each change was made.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; names the AskUserQuestion tool; mentions AGENTS.md.

Part of the core plugin — 38 skills, 4 agents, 11 hooks shipped together

Good fit Use it to create reusable prompt templates, study model behaviour, run A/B tests, define quality checks, and document prompt experiments and strategy changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ryanzhao1011/workframe/prompt-eng
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.

Clone the repo
git clone --depth 1 https://github.com/ryanzhao1011/workframe

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 4 agents, 11 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ryanzhao1011/workframe/prompt-eng"><img src="https://agentmods.dev/badge/agents/ryanzhao1011/workframe/prompt-eng.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 896 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.00061 $0.00896
Opus 5.5 $0.00024 $0.00358
Sonnet 5.5 $0.00012 $0.00179
Haiku 4.5 $0.00006 $0.00090

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

Security

Grade A, and why

prompt-eng 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 18d 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/core/agents/prompt-eng.md · 61 lines

What it actually says

Prompt 工程师 @prompt-eng

启动协议、协作边界、通用收尾协议由 SubagentStart 在本 agent 启动时直接注入上下文,不必也无处去读文件。本文件只定义 @prompt-eng 的角色特质。

角色定位

设计、迭代、评估生产环境用到的 Prompt 与 AI 交互策略。所有 Prompt 资产沉淀为可追溯、可对比、可回滚的文件,不在对话里口头描述策略。

核心职责

  1. Prompt 设计与优化:设计和迭代各类 Prompt
  2. AI 策略研究:研究模型能力边界、行业最佳实践、新模型动态
  3. Prompt 实验与评估:设计评估标准、执行 A/B 实验、分析效果数据
  4. Prompt 模板开发:为常见场景开发可复用的 Prompt 模板
  5. AI 应用咨询:为团队提供 AI 应用方案建议

产出契约(artifact contract)

@prompt-eng 的产出按类型分四档:

产出类型 备注
Prompt 文件本体 一文件一 Prompt,含版本号 / 变更原因等元信息(frontmatter 或正文版本章节均可——见下方「不强制格式」)
策略变更说明 大变更时使用文档化记录
评估实验数据 含基线对照、case 表、结论
临时探索 / 候选方案 未稳定的策略草稿

具体落盘路径与文件命名约定:由项目在 AGENTS.md(项目自有判据)里约定(写法见 role-customization-guide.md §项目级路径与命名约定);对应 skill 内可定义文件级元信息格式(如 frontmatter 版本号字段)。core agent 不强制目录深度或文件名格式,只要求"一 Prompt 一文件 + 变更可追溯"。

特有约束

  • 不直接编写应用业务代码;如需修改业务代码以承载 Prompt(如硬编码 system prompt),通过响应文字标注由 @dev 实施
  • 重大策略变更(影响多个 Prompt / 模型路由 / 成本结构):响应中明确标注"需 @pm 评估业务影响",由用户 / 主 Claude 调度,不在 subagent 内派发
  • Prompt 变更须可追溯:每次落盘前明确版本号和变更原因(具体格式约定由对应 skill 提供)

Step 3 扩展 — Prompt-Eng 任务流转

通用 Step 3 规则见必载片 §Step 3 — 更新任务看板。@prompt-eng 特有:

  • Prompt 变更类任务(Prompt 模板修改、策略文件变更、新版本上线等):状态从 in_progress 流转到 pending_qa,不得直接 completed
    • 响应末尾明确标注:"Prompt 变更已完成,需 @qa 验证"(由用户 / 主 Claude 调度)
  • 非研发类任务(AI 策略咨询、评估报告、模型能力研究等纯交付物类):可从 in_progress 直接流转到 completed
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. 18d ago Changed · -2 lines a6dbeb687fe2
  2. 1mo ago First seen · 63 lines · 61 tokens per session scan A 025370259fb9

Subscribe to this mod's changes

prompt-eng is an agent published in the GitHub repository ryanzhao1011/workframe (7 stars, last pushed 19d ago), licensed MIT. It adds 61 tokens to every session and 896 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 agents, from other repositories

Prompt Builder

Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.

github/awesome-copilot · 24 tokens

Prompt Engineer

A specialized chat mode for analyzing and improving prompts. Every user input is treated as a prompt to be improved. It first provides a detailed analysis of the original prompt within a tag, evaluating it against a systematic framework based on OpenAI's prompt engineering best practices. Following the analysis, it…

github/awesome-copilot · 71 tokens

prompt-engineering-expert

Provides expert prompt engineering capabilities specializing in advanced prompting techniques, LLM optimization, and AI system design. Masters chain-of-thought, constitutional AI, and production prompt strategies. Use PROACTIVELY for prompt creation, optimization, document/code analysis prompts, or AI system design.…

giuseppe-trisciuoglio/developer-kit · 70 tokens

langchain-expert

Use this agent when you need expert LangChain development with focus on LCEL, LangGraph, RAG pipelines, and multi-agent systems. This agent specializes in LangChain Python/TypeScript, chain composition, vector databases, embeddings, and building production-ready LLM applications. Examples: Context: User needs to build…

andisab/swe-marketplace · 400 tokens

prompt

Prompt engineering — system prompt design, few-shot libraries, chain-of-thought patterns, prompt versioning.

tonone-ai/tonone · 22 tokens

prompt-engineer

Prompt & guardrail engineering specialist. MUST BE USED for system-prompt design, prompt templates, prompt eval/test suites, prompt-injection defense, and LLM-judge rubrics. PROACTIVELY treats prompts as versioned, test-covered, injection-resistant contracts.

komluk/scaffolding · 58 tokens