Token导航 LogoToken导航

Agent Skill · 研究检索

agent%3aprompt(Agent 3aprompt 搜索)

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

agent%3aprompt 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 72,323。

总安装 188周安装 8GitHub Stars 公开资料未说明下载 66核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent%3aprompt(Agent 3aprompt 搜索)
来源仓库:https://github.com/ikatsuba/skills
仓库路径:skills/agent%3Aprompt
安装命令:
npx skills add https://github.com/ikatsuba/skills --skill agent:prompt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ikatsuba/skills --skill agent:prompt

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助提示词与系统指令的设计优化,提升 Agent 行为一致性。适合在 Codex、Claude、Cursor、Gemini CLI 中规范任务边界与输出格式。基于种子提示法构建可复用模板,支持少样本示例与生产级优化。使用时需保留真实业务约束,避免将示例当作硬规则。

agent%3aprompt 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/agent%3Aprompt

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ikatsuba/skills --skill agent:prompt;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent%3aprompt 怎么安装?

在终端执行 npx skills add https://github.com/ikatsuba/skills --skill agent:prompt。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent%3aprompt 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent%3aprompt 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

agent%3aprompt 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent%3aprompt 用的人多吗?

公开数据是累计安装 188 次,近一周安装 8 次,下载 66 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent%3aprompt 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent%3aprompt

Agent 3aprompt 搜索 · 本页

188—需要联网未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Prompt Engineering

Guides the user through designing and optimizing prompts for AI agents. Based on "Principles of Building AI Agents" (Bhagwat & Gienow, 2025), Part I: Prompting a Large Language Model.

When to use

Use this skill when the user needs to:

  • Choose the right model and provider for their agent
  • Write or improve system prompts and agent instructions
  • Design few-shot examples for consistent output
  • Optimize prompts for production (cost, quality, latency)
  • Bootstrap a prompt from scratch using the seed crystal approach

Instructions

Step 1: Understand the Use Case

Use the AskUserQuestion tool to gather context:

  1. What does the agent do? (task type: classification, generation, extraction, conversation, code, reasoning)
  2. What is the expected input format? (free text, structured data, images, code)
  3. What is the expected output format? (free text, JSON, code, decision)
  4. What quality bar is needed? (prototype, internal tool, customer-facing, high-stakes)
  5. What are the constraints? (latency, cost, context size)

Step 2: Model Selection

Guide the user through model choice. Apply the principle: start expensive, optimize later.

Use AskUserQuestion to present options:

## Model Selection Matrix

| Factor | Small/Fast | Medium | Large/Capable |
|--------|-----------|--------|---------------|
| **Use case** | Classification, routing, simple extraction | Conversation, summarization, tool calling | Complex reasoning, code gen, multi-step planning |
| **Latency** | < 500ms | 1-3s | 3-10s |
| **Cost** | $0.25-1/M tokens | $3-5/M tokens | $15-75/M tokens |
| **Examples** | Haiku, GPT-4o-mini, Gemini Flash | Sonnet, GPT-4o, Gemini Pro | Opus, o1/o3, Gemini Ultra |

Key principles:

  • Start hosted — use cloud APIs (Anthropic, OpenAI, Google) even if you plan open-source later
  • Use model routing — abstract the provider so you can swap models without rewriting code
  • Consider context windows — if your use case needs large input (codebases, long documents), pick models with large context windows
  • Reasoning models — best for complex analysis but need lots of context upfront (many-shot prompting); without good context they go off the rails

Output a recommendation:

## Recommended Model

**Primary:** [Model] — [Why]
**Fallback:** [Model] — [For cost optimization / lower-stakes tasks]
**Context window:** [Size] — [Sufficient for X pages / Y tokens of input]

Step 3: Prompt Architecture

Design the prompt structure. Every production prompt has these layers:

## Prompt Architecture

### 1. System Prompt
[Agent identity, role, tone, constraints, persona]
- Sets characteristics and behavior boundaries
- Good for shaping tone; usually does not improve accuracy alone

### 2. Context Block
[Data the agent needs to do its job]
- Retrieved documents (RAG)
- User profile / session state
- Tool descriptions and schemas
- Use XML-like tags to structure: <context>, <user_data>, <documents>

### 3. Task Instructions
[What to do with the context]
- Step-by-step instructions
- Output format specification
- Edge case handling

### 4. Examples (Few-Shot)
[Input/output pairs showing desired behavior]
- Zero-shot: no examples (simplest, least control)
- Single-shot: one example (establishes format)
- Few-shot: 3-5 examples (most control, highest quality)

### 5. User Input
[The actual user message / query]

Step 4: Write the System Prompt

Guide the user through writing each section. Use AskUserQuestion at each step.

Seed Crystal Approach: If the user is starting from scratch, offer to bootstrap:

  1. Describe the agent's purpose in 2-3 sentences
  2. Ask the target LLM to generate a v1 system prompt
  3. Refine iteratively

Formatting principles:

  • CAPITALIZATION adds weight to important words (use sparingly)
  • XML-like tags help models parse structure: <task>, <context>, <constraints>, <examples>
  • Be extremely specific — production prompts are long and detailed
  • Include what the agent should NOT do (prohibitions prevent common failures)

Output a complete system prompt:

## System Prompt

<system>
You are [role/identity].

## Your Task
[Clear description of what to do]

## Constraints
- [Constraint 1]
- [Constraint 2]
- NEVER [prohibition]

## Output Format
[Exact format specification]

## Examples

<example>
<input>[Example input]</input>
<output>[Example output]</output>
</example>

<example>
<input>[Another input]</input>
<output>[Another output]</output>
</example>
</system>

Step 5: Design Few-Shot Examples

Help the user create high-quality examples. Use AskUserQuestion to gather real scenarios.

Guidelines:

  • Cover the most common case first
  • Include at least one edge case
  • Show the exact output format you expect
  • If the agent handles errors, show an error example
  • 3-5 examples is the sweet spot (more = more control but higher cost)
## Few-Shot Examples

| # | Input | Expected Output | Covers |
|---|-------|----------------|--------|
| 1 | [Common case] | [Ideal response] | Happy path |
| 2 | [Edge case] | [Correct handling] | Boundary condition |
| 3 | [Ambiguous input] | [Clarification response] | Uncertainty handling |
| 4 | [Error case] | [Graceful failure] | Error path |

Step 6: Production Optimization

Review the prompt for production readiness:

## Production Checklist

### Quality
- [ ] System prompt clearly defines agent identity and boundaries
- [ ] At least 3 few-shot examples covering common + edge cases
- [ ] Output format is unambiguous (JSON schema, structured template)
- [ ] Prohibitions prevent known failure modes
- [ ] Formatting uses XML tags for structure

### Cost
- [ ] Prompt tokens are minimized (no redundant instructions)
- [ ] Examples are concise but representative
- [ ] Context is filtered to what's relevant (not dumping everything)
- [ ] Consider using a smaller model for simple subtasks

### Latency
- [ ] Streaming is enabled for user-facing responses
- [ ] Long prompts are cached where supported
- [ ] Model size matches latency requirements

### Robustness
- [ ] Tested with adversarial inputs
- [ ] Tested with empty/minimal input
- [ ] Tested with very long input (near context limit)
- [ ] Output format holds across model temperature settings

Step 7: Summarize and Offer Next Steps

Present all findings to the user as a structured summary in the conversation. Do NOT write to .specs/ — this skill works directly.

Use AskUserQuestion to offer:

  1. Test the prompt — try it with sample inputs right now
  2. Write the prompt to a file — if the user wants to save it to their codebase
  3. Comprehensive design — run agent:design to cover all areas with a spec

Arguments

  • $ARGUMENTS ($0) - Optional description of the agent or path to existing prompt file

Examples:

  • agent:prompt customer-support chatbot — design prompts for a support chatbot
  • agent:prompt src/agents/writer.ts — improve prompts in an existing agent file
  • agent:prompt — start fresh

平台分布

Codex

35.15%
按下载量换算23

Claude

29.89%
按下载量换算20

Cursor

18.49%
按下载量换算12

Gemini CLI

10.12%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills