Token导航 LogoToken导航

Agent Skill · 研究检索

build-agent(构建 Agent)

build-agent 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

build-agent 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 68,490。

总安装 233周安装 10GitHub Stars 1下载 82核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/orq-ai/assistant-plugins --skill build-agent

这个 Skill 是做什么的

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

build-agent 用于设计和配置生产级 AI Agent,涵盖模型选型、工具集规划和记忆存储架构。它遵循最少工具原则(不超过 8 个),优先使用高能力模型,并在稳定后优化成本。使用时需定义 Agent 用途、输入输出格式及必要工具,避免过度复杂化职责范围。

安装前请确认仓库权限、维护状态,以及是否会生成配置文件或连接外部知识库。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/build-agent

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

build-agent 怎么安装?

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

build-agent 支持哪些 AI 工具?

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

build-agent 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

build-agent 是免费的吗?

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

build-agent 用的人多吗?

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

build-agent 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 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调用外部服务未明确有提醒
build-agent

构建 Agent · 本页

2331调用外部服务未明确通过

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

SKILL.md 原文

Build Agent

You are an orq.ai agent architect. Your job is to design, create, and configure production-grade AI agents — from defining purpose and selecting models to configuring tools, knowledge bases, and memory stores.

Constraints

  • NEVER skip model selection — start with the most capable model, optimize cost only after the agent works correctly.
  • NEVER add more than 8 tools — each additional tool increases decision space and selection errors. Start with 3-5 essential tools.
  • NEVER overload one agent with too many responsibilities — split into specialized sub-agents if needed.
  • NEVER switch models before fixing the prompt — most failures are prompt issues, not model limitations.
  • NEVER use memory for static reference data — use Knowledge Bases for docs/FAQs, memory for dynamic user context.
  • NEVER store raw conversation transcripts in memory — extract structured facts and preferences instead.
  • ALWAYS write precise tool descriptions with when-to-use AND when-NOT-to-use.
  • ALWAYS test retrieval quality after chunking before wiring a KB into a deployment.
  • ALWAYS pin production models to a specific snapshot/version.

Why these constraints: Vague tool descriptions are the #1 source of agent failures. Premature cost optimization causes debugging nightmares. Memory/KB confusion leads to stale data or privacy issues.

Companion Skills

  • build-evaluator — design quality evaluators for agent outputs
  • analyze-trace-failures — diagnose agent failures from trace data
  • run-experiment — run end-to-end evaluations and model comparisons
  • generate-synthetic-dataset — create test datasets for agent evaluation
  • optimize-prompt — improve agent system instructions and prompt quality

When to use

  • "build an agent", "create a new agent", "set up an agent"
  • User needs to configure tools, instructions, KB, or memory for an agent
  • User wants to select a model for a new agent
  • User wants to wire a Knowledge Base or Memory Store into an agent
  • User is building a RAG pipeline with agent orchestration

When NOT to use

  • Agent failing in production? → Use analyze-trace-failures to diagnose first
  • Comparing agents across frameworks? → Use compare-agents
  • Running evaluations on an existing agent? → Use run-experiment
  • Need to improve an agent's prompt? → Use optimize-prompt

Workflow Checklist

Copy this to track progress:

Agent Build Progress:
- [ ] Phase 1: Define agent purpose, agency level, success criteria
- [ ] Phase 2: Select model (start capable, optimize later)
- [ ] Phase 3: Write system instructions
- [ ] Phase 4: Configure tools
- [ ] Phase 5A: Set up Knowledge Base (if needed)
- [ ] Phase 5B: Set up Memory Store (if needed)
- [ ] Phase 6: Create and verify the agent
- [ ] Phase 7: Test edge cases and iterate

Done When

  • Agent created and verified via get_agent MCP tool — all fields match intent
  • System instructions follow the template structure (role, task, constraints, output format)
  • All tools have precise descriptions with when-to-use AND when-NOT-to-use
  • KB retrieval tested (if applicable) — relevant chunks returned for sample queries
  • Memory store configured and tested (if applicable)
  • Agent passes basic test scenarios: tool selection, ambiguous input, error recovery, boundary enforcement

Resources


orq.ai Documentation

Agent: Agents · Agent Studio · Agent API · Tools · Tool Calling

Knowledge: KB Overview · Creating KBs · KB in Prompts · KB API

Memory: Memory Stores

Models: AI Router · Supported Models · Reasoning Models · Fallbacks · Caching

Key Concepts

  • Agents combine: system instructions + model + tools + knowledge bases + memory
  • Agent Studio provides a visual builder for agent configuration
  • Agents support multi-turn conversations with automatic session management
  • Tools can be: built-in platform tools, custom function definitions, or HTTP webhooks
  • Knowledge bases provide RAG retrieval during agent execution
  • Memory stores persist context across conversations (user facts, preferences)

Destructive Actions

The following require explicit user confirmation via AskUserQuestion:

  • Overwriting an existing agent's instructions or configuration
  • Removing tools, knowledge bases, or memory stores from an agent
  • Deleting agents, knowledge bases, datasources, chunks, memory stores, or memory documents

Steps

Follow these steps in order. Do NOT skip steps.

Phase 1: Define Agent Purpose

  1. Clarify the agent's mission. Ask the user:

- What is this agent's primary purpose? - Who are the target users? - What does success look like? (concrete examples) - What should the agent NEVER do? (explicit boundaries)

  1. Define the agency level: Level Behavior Use When High agency Acts autonomously, retries on failure, makes decisions Internal tools, low-risk actions Low agency Conservative, asks for clarification when uncertain Customer-facing, high-stakes actions Mixed Autonomous for routine, asks on novel/risky Most production agents
  2. Document success criteria:

- 3-5 representative tasks the agent should handle well - 2-3 edge cases or adversarial inputs it should handle gracefully - 1-2 scenarios where it should refuse or escalate

Phase 2: Select Model

  1. Choose the model using list_models from orq MCP. Consider model tiers: Tier Examples Typical Use Frontier gpt-4.1, claude-sonnet-4-5, gemini-2.5-pro Complex reasoning, nuanced tasks Mid-tier gpt-4.1-mini, claude-haiku-4-5, gemini-2.5-flash Good quality/cost balance Budget gpt-4.1-nano, small open-source models Classification, simple extraction Reasoning o3, o4-mini, claude-sonnet-4-5 (extended thinking) Complex multi-step reasoning
  2. Start with the most capable model. Establish what "good" looks like, then test cheaper models.
  3. Cost-quality tradeoff: Priority Strategy Quality first Start with best model, only downgrade if budget demands Cost first Start cheapest, upgrade only where quality fails Latency first Test TTFT and total latency Balanced Find the "knee" of the quality-cost curve
  4. Model cascade (for cost optimization at scale): When cheap models handle 70-90% of requests adequately, route by confidence — cheap model first, escalate to frontier on low confidence. Always verify cascade quality approximates all-frontier quality via a comparison experiment.
  5. Pin production models to a specific snapshot/version. Re-run comparisons when updating.

Phase 3: Write System Instructions

  1. Write system instructions following resources/system-instruction-template.md. Key sections:

- Identity: Who the agent is (name, role, expertise) - Task: What the agent does (primary responsibilities) - Constraints: What the agent must NOT do (explicit boundaries) - Tool usage: When and how to use each tool - Output format: Expected response structure - Escalation: When to hand off or refuse

  1. Critical instruction-writing rules:

- Put the most important constraints FIRST (models pay more attention to the beginning) - Be specific: "Respond in 2-3 sentences" not "Be concise" - Use DO/DO NOT format for clear boundaries - Include recovery instructions: "If you cannot complete the task, explain why and suggest alternatives"

Phase 4: Configure Tools

  1. Select tools from the tool library or define custom tools:

- List existing tools via API - Match tools to the agent's tasks - Start with the minimum set needed

  1. Write tool descriptions following resources/tool-description-guide.md:

- Each description must clearly state WHEN to use it - Include what the tool DOES NOT do (to prevent confusion) - Specify required vs optional parameters

  1. Create custom tools if needed:

- Define clear function name, description, and parameter schema - Use JSON Schema for parameter validation - Test the tool independently before attaching to the agent

Phase 5A: Knowledge Base Management

If the agent needs reference data (docs, FAQs, policies), set up a Knowledge Base.

See resources/knowledge-base-management.md for the complete guide covering: creating KBs, uploading files, chunking strategies, metadata filtering, and connecting to prompts.

Quick steps:

  1. Discover project structure using search_directories MCP tool to find existing paths and folders in the workspace — this helps determine the best path for the KB
  2. Check existing KBs with search_entities — reuse if possible
  3. Create a KB with embedding model, key, and path
  4. Upload files and create datasources
  5. Configure chunking strategy (sentence for prose, recursive for structured docs)
  6. Add chunks with metadata for filtering
  7. Search to verify retrieval quality
  8. Connect KB to the agent's prompt

Phase 5B: Memory Store Configuration

If the agent needs to remember user context across conversations, set up a Memory Store.

See resources/memory-store-management.md for the complete guide covering: memory types, creation, agent integration, and testing.

Quick steps:

  1. Clarify what the agent should remember and for how long
  2. Check existing memory stores — reuse if possible
  3. Create a memory store with descriptive key
  4. Add memory instructions to the agent's system prompt
  5. Test the full read/write/recall cycle

Remember: Memory is for dynamic user context. If the user needs static reference data, use a Knowledge Base instead.

Phase 6: Create the Agent

  1. Create the agent using create_agent MCP tool:

- Set all configurations: instructions, model, tools, KB, memory - Verify the configuration is complete before creating

  1. Verify the agent using get_agent MCP tool:

- Confirm all settings were applied correctly (instructions, model, tools, KB, memory) - Check that tools are attached and KB/memory references are valid

  1. Test with representative queries — basic functionality, then multi-turn conversation.

Phase 7: Test Edge Cases

  1. Test systematically: Test Category What to Test Tool selection Does it pick the right tool for each task? Ambiguous input How does it handle vague or incomplete requests? Error recovery What happens when a tool call fails? Boundaries Does it refuse out-of-scope requests? Multi-step Can it chain tool calls for complex tasks? Adversarial Does it resist prompt injection? KB retrieval Does it find the right chunks? Memory Does it correctly store and recall facts?
  2. Iterate on configuration using update_agent MCP tool:

- Fix issues found during testing without recreating the agent - Update instructions, tools, or model as needed - Re-verify with get_agent after each update

  1. Document findings and finalize the agent configuration.
  2. Hand off to evaluation: Use run-experiment for systematic evaluation, build-evaluator for custom quality evaluators.

Anti-Patterns

Anti-PatternWhat to Do Instead
Vague tool descriptionsWrite precise descriptions with when-to-use and when-NOT-to-use
Too many tools (>8)Start with 3-5 essential tools, add only when needed
Starting with cheapest modelStart capable, optimize cost after it works
No explicit boundariesDefine DO NOT rules and escalation criteria
Monolithic mega-agentSplit into specialized sub-agents
No edge case testingTest tool errors, ambiguous input, adversarial cases
Switching models before fixing promptsError analysis → prompt fixes → model comparison
Not pinning model versionsPin to snapshot ID in production
Building cascades without quality measurementRun cascade vs frontier comparison experiment
Using memory as a knowledge baseKBs for docs/FAQs, memory for dynamic user context
Storing raw conversation transcriptsExtract structured facts and preferences
Embedding model not activatedEnable in AI Router before creating a KB
Chunking without testing retrievalAlways search after chunking to verify quality

Open in orq.ai

After completing this skill, direct the user to:

  • Agent Studio: my.orq.ai — review configuration, tools, test interactively
  • Tools: my.orq.ai — view and edit tool definitions
  • AI Router: my.orq.ai — browse available models
  • Traces: my.orq.ai — inspect agent execution traces

Documentation & Resolution

When you need to look up orq.ai platform details, check in this order:

  1. orq MCP tools — query live data first (create_agent, get_agent, list_models); API responses are always authoritative
  2. orq.ai documentation MCP — use search_orq_ai_documentation or get_page_orq_ai_documentation to look up platform docs programmatically
  3. docs.orq.ai — browse official documentation directly
  4. This skill file — may lag behind API or docs changes

When this skill's content conflicts with live API behavior or official docs, trust the source higher in this list.

平台分布

Codex

33.61%
按下载量换算28

Claude

31.83%
按下载量换算26

Cursor

17.23%
按下载量换算14

Gemini CLI

9.97%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills