Token导航 LogoToken导航

Agent Skill · 研究检索

agent-architect(Agent 建筑师)

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

agent-architect 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 34,372。

总安装 2,233周安装 94GitHub Stars 110下载 782核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/igorwarzocha/opencode-workflows --skill agent-architect

这个 Skill 是做什么的

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

agent-architect 是一个交互式代理创建助手,通过对话方式引导用户完成 opencode 代理的配置与优化。适用于希望快速搭建定制化 AI 代理但缺乏技术细节的用户,支持标准权限配置、触发词设定和功能模块选择。采用问答式引导而非预设模板,强调迭代反馈和草稿展示,帮助用户精准定位代理用途和行为边界。

支持批量提问、推荐标记和权限显式确认,避免默认开启高风险操作如 Write 或 WebSearch。使用前请明确代理用途和数据接触范围,尤其关注权限逻辑,防止代理执行非预期命令或访问敏感资源。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

agent-architect 怎么安装?

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

agent-architect 支持哪些 AI 工具?

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

agent-architect 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/igorwarzocha/opencode-workflows --skill agent-architect;npx skills add igorwarzocha/opencode-workflows --skill "agent-architect" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

agent-architect 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-architect 用的人多吗?

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

agent-architect 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 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-architect

Agent 建筑师 · 本页

2,233110执行命令MIT有提醒

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

SKILL.md 原文

Agent Architect

Create and refine opencode agents through a guided Q&A process.

<core_approach>

Agent creation is conversational, not transactional.

  • MUST NOT assume what the user wants—ask
  • SHOULD start with broad questions, drill into details only if needed
  • Users MAY skip configuration they don't care about
  • MUST always show drafts and iterate based on feedback

The goal is to help users create agents that fit their needs, not to dump every possible configuration option on them.

</core_approach>

<question_tool>

Batching: Use the question tool for 2+ related questions. Single questions → plain text.

Syntax: header ≤12 chars, label 1-5 words, add "(Recommended)" to default.

CRITICAL Permission Logic:

  • You MUST ask the user about permissions explicitly.
  • If user selects "Standard/Default" or "No extra", do NOT list bash, read, write, edit permissions. Rely on system defaults.
  • Only add explicit permission blocks for tools when the user requests NON-STANDARD access (e.g., restrictive, or specific allows).
  • EXCEPTION: Skills MUST ALWAYS be configured with "*": "deny" and explicit allows, regardless of tool permissions.

</question_tool>

Agent Locations

ScopePath
Project.opencode/agent/<name>.md
Global~/.config/opencode/agent/<name>.md

Agent File Format

---
description: When to use this agent. Include trigger examples.
model: anthropic/claude-sonnet-4-20250514  # Optional
mode: subagent                   # Optional (defaults to undefined/standard)
permission:
  skill: { "*": "deny", "my-skill": "allow" }
  bash: { "*": "ask", "git *": "allow" }
---
System prompt in markdown body (second person).

Full schema: See references/opencode-config.md

Agent Modes

ModeDescription
(undefined)Standard agent, visible to user and tools (Default)
subagentspecialized task tool agent, hidden from main list

Phase 1: Core Purpose (Required)

Ask these first—they shape everything else:

  1. "What should this agent do?"

- Get the core task/domain - Examples: "review code", "help with deployments", "research topics"

  1. "What should trigger this agent?"

- Specific phrases, contexts, file types - Becomes the description field

  1. "What expertise/persona should it have?"

- Tone, boundaries, specialization - Shapes the system prompt

Phase 1.5: Research the Domain

MUST NOT assume knowledge is current. After understanding the broad strokes:

  • Search for current best practices in the domain
  • Check for updates to frameworks, tools, or APIs the agent will work with
  • Look up documentation for any unfamiliar technologies mentioned
  • Find examples of how experts approach similar tasks

This research informs better questions in Phase 2 and produces a more capable agent.

Example: User wants an agent for "Next.js deployments" → Research current Next.js deployment patterns, Vercel vs self-hosted, App Router vs Pages Router, common pitfalls, etc.

Phase 2: Capabilities (Ask broadly, then drill down)

  1. "What permissions does this agent need?" (Use Question Tool)

- Options: "Standard (Recommended)", "Read-Only", "Full Access", "Custom" - Standard: Do NOT add bash, read, write, edit to config. Rely on defaults. - Read-Only: Explicitly deny write/edit/bash. - Full Access: Allow bash * if needed. - Custom: Ask specific follow-ups.

  1. "Should this agent use any skills?"

- If yes: "Which ones?" - ALWAYS configure permission.skill with "*": "deny" and explicit allows. - This applies even if other permissions are standard.

  1. "Is this a subagent?"

- If yes: set mode: subagent - If no: leave mode undefined (standard)

Phase 3: Details (Optional—user MAY skip)

  1. "Any specific model preference?" (most users skip)
  2. "Custom temperature/sampling?" (most users skip)
  3. "Maximum steps before stopping?" (most users skip)

Phase 4: Review & Refine

  1. Show the draft config and prompt, ask for feedback

- "Here's what I've created. Anything you'd like to change?" - Iterate until user is satisfied

Key principle: Start broad, get specific only where the user shows interest. MUST NOT overwhelm with options like top_p unless asked.

Be flexible: If the user provides lots of info upfront, adapt—MUST NOT rigidly follow the phases. If they say "I want a code review agent that can't run shell commands", you already have answers to multiple questions.

<system_prompt_structure>

Recommended Structure

# Role and Objective
[Agent purpose and scope]

# Instructions
- Core behavioral rules
- What to always/never do

## Sub-instructions (optional)
More detailed guidance for specific areas.

# Workflow
1. First, [step]
2. Then, [step]
3. Finally, [step]

# Output Format
Specify exact format expected.

# Examples (optional)
<examples>
<example>
<input>User request</input>
<output>Expected response</output>
</example>
</examples>

XML Tags (Recommended)

XML tags improve clarity and parseability across all models:

TagPurpose
<instructions>Core behavioral rules
<context>Background information
<examples>Few-shot demonstrations
<thinking>Chain-of-thought reasoning
<output>Final response format

Best practices:

  • Be consistent with tag names throughout
  • Nest tags for hierarchy: <outer><inner></inner></outer>
  • Reference tags in instructions: "Using the data in <context> tags..."

Example:

<instructions>
1. Analyze the code in <code> tags
2. List issues in <findings> tags
3. Suggest fixes in <recommendations> tags
</instructions>

Description Field (Critical)

The description determines when the agent triggers.

Primary Agents: Keep it extremely concise (PRECISELY 3 words). The user selects these manually or via very clear intent. Any Other Agents: Must be specific and exhaustive to ensure correct routing by the task tool. Template (Any Other Agents): [Role/Action]. Use when [triggers]. Examples: - user: "trigger" -> action

Good (Primary):

Code review expert.

Good (Any Other Agents):

Code review specialist. Use when user says "review this PR", "check my code",
"find bugs".

Examples:
- user: "review" -> check code
- user: "scan" -> check code

Prompt Altitude

Find the balance between too rigid and too vague:

❌ Too Rigid✅ Right Altitude❌ Too Vague
Hardcoded if-else logicClear heuristics + flexibility"Be helpful"
"If X then always Y""Generally prefer X, but use judgment"No guidance

</system_prompt_structure>

<agentic_components>

For agents that use tools in a loop, SHOULD include these reminders:

# Persistence
Keep working until the user's request is fully resolved. Only yield
control when you're confident the task is complete.

# Tool Usage
If unsure about something, use tools to gather information.
Do NOT guess or make up answers.

# Planning (optional)
Think step-by-step before each action. Reflect on results before
proceeding.

</agentic_components>

Control what agents can access.

CRITICAL: Avoid Overengineering

  • Do NOT list permissions for standard tools (read, write, edit, bash) unless the user explicitly asks for restrictions or non-standard access.
  • Rely on system defaults for most agents.
  • Skills are the exception: You MUST always configure permission.skill to whitelist specific skills and deny others.
# Standard Agent (minimal config)
permission:
  skill:
    "*": "deny"
    "my-skill": "allow"

# Restricted Agent (explicit config)
permission:
  edit: "ask"
  bash:
    "*": "deny"
  skill:
    "*": "deny"

Full reference: See references/opencode-config.md

Legacy Configuration

Agents may occasionally work on legacy projects using outdated frontmatter (e.g., tools:, maxSteps:). You MUST correct these to the modern permission: and steps: fields when encountered.

<enhancement_workflow>

When improving an agent, diagnose through questions:

  1. "What's not working well?" — Get specific symptoms
  2. "Can you show me an example where it failed?" — Understand the gap
  3. "What should it have done instead?" — Define success

Then propose targeted fixes:

SymptomLikely CauseFix
Triggers too oftenDescription too broadAdd specific contexts
Misses triggersDescription too narrowAdd trigger phrases
Wrong outputsPrompt ambiguousAdd explicit instructions
Executes dangerous commandsLoose bash permissionsRestrict with patterns
Uses wrong skillsNo skill restrictionsConfigure permission.skill

MUST show proposed changes and ask for confirmation before applying.

</enhancement_workflow>

Restricted Code Review Agent

---
description: Safe code reviewer.
mode: primary
permission:
  edit: "ask"
  bash: "deny"
  write: "deny"
  external_directory: "deny"
---
You are a code review specialist. Analyze code for bugs, security issues,
and improvements. Never modify files directly.

Deployment Agent (Any Other Agents)

---
description: |-
  Deployment helper. Use when user says "deploy to staging", "push to prod",
  "release version".

  Examples:
  - user: "deploy" -> run deployment
  - user: "release" -> run deployment
mode: subagent
permission:
  bash:
    "*": "deny"
    "git *": "allow"
    "npm run build": "allow"
    "npm run deploy:*": "ask"
  skill:
    "*": "deny"
    "deploy-checklist": "allow"
---
You are a deployment specialist...

<quality_checklist>

Before showing the final agent to the user:

  • Asked about core purpose and triggers
  • Researched the domain (MUST NOT assume knowledge is current)
  • description has concrete trigger examples
  • mode discussed and set appropriately
  • System prompt uses second person
  • Asked about tool/permission needs (MUST NOT assume)
  • Output format is specified if relevant
  • Showed draft to user and got feedback
  • User confirmed they're happy with result

</quality_checklist>

References

  • references/agent-patterns.md - Design patterns and prompt engineering
  • references/opencode-config.md - Full frontmatter schema, tools, permissions

平台分布

Claude Code

28.3%
按下载量换算221

OpenCode

26.18%
按下载量换算205

Codex

18.1%
按下载量换算142

Gemini CLI

13.46%
按下载量换算105

Antigravity

7.59%
按下载量换算59

windsurf

3.92%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/igorwarzocha/opencode-workflows --skill agent-architect;npx skills add igorwarzocha/opencode-workflows --skill "agent-architect" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills