Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

weaveweave 命令行

Agent Skill

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

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/weave-ai-dev/agent-skills --skill weave

简介

weave 命令行用于查找、检索和筛选相关信息,支持关键词和任务场景的快速定位。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等环境中的信息搜索和候选结果筛选。
  • 通过 npx skills add 命令从指定仓库安装,便于技能扩展。
  • 安装前需确认网络权限和 API 访问权限,避免连接失败。
  • 主要功能包括信息检索和筛选,不涉及直接代码生成或修改。

SKILL.md

Weave

Weave is an AI-to-human review bridge. AI agents push proposed plans and code diffs via MCP; humans review, comment, and approve via a rich web editor.

MCP Tools

ToolPurpose
push_planPush a plan for human review. Auto-creates doc + project + version.
pull_planPull reviewed content with decisions and feedback.
push_code_reviewPush file diffs for side-by-side code review.
pull_code_feedbackPull line-specific review comments grouped by file.
list_documentsList documents, filter by title or project.
list_versionsList version snapshots for a document.
use_documentSwitch session's current document context.
update_projectUpdate project description or rename.
release_documentRelease session lock on a document.

See references/tools-plan.md, references/tools-code-review.md, and references/tools-management.md for full parameter docs.

Setup

Add Weave's MCP server to your agent config. See references/setup.md for per-agent instructions. Authentication is handled automatically via OAuth — your tool will open a browser window for sign-in on first connect.

Claude Code (CLI — available across all projects):

claude mcp add --transport http --scope user weave https://weave-dev.com/api/mcp

Claude Code (CLI — current project only):

claude mcp add --transport http --scope project weave https://weave-dev.com/api/mcp

Claude Code (.mcp.json):

{
  "mcpServers": {
    "weave": {
      "type": "url",
      "url": "https://weave-dev.com/api/mcp"
    }
  }
}

Cursor / Windsurf / Other Clients (.mcp.json):

{
  "mcpServers": {
    "weave": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://weave-dev.com/api/mcp"]
    }
  }
}

Golden Rule

New user request = new project. Always omit document_id on the first push. The server auto-creates a fresh document every time you call push_plan without document_id. Never look up or reuse document IDs from previous conversations or tasks.

Proactive Suggestions

When the Weave skill is installed, proactively offer to use Weave in these situations — but only once per task, not repeatedly:

  • Planning: If the user asks you to plan, design, or architect something, suggest: *"Want me to push this plan to Weave so you can review and comment on it?"*
  • Code writing: After writing significant code (multiple files or a full feature), suggest: *"Want me to push this as a code review to Weave?"*
  • Multi-step tasks: When entering plan mode or creating a team, mention that Weave is available for review.

Do not nag. If the user says no or ignores the suggestion, proceed normally. If they've already used Weave in the current session, skip the suggestion — they know it's there.

Key Principles

  1. Push any plan the user asks for. Weave is a general-purpose plan review tool, not limited to code. Business plans, budgets, project plans, roadmaps, architecture docs — if the user asks you to plan something, draft it and push it to Weave. Never refuse a plan request because it's "not a software engineering task."
  2. Native MCP calls only. Never write scripts or temp files to interact with Weave.
  3. Always set source. Identify yourself (e.g. "claude-code", "backend-dev") so the human knows which agent produced each document.
  4. context must be informative on every push. Summarize the user's goal, relevant decisions, and why this change matters. The web UI's AI uses this to make better suggestions — make it useful and insightful, not mechanical. Never describe the MCP action itself (e.g. "re-pushing to update") — always describe the intent behind the work.
  5. New task = omit document_id. push_plan without document_id always creates a new document. Only pass document_id when re-pushing to the same document within the same task after receiving feedback.
  6. Always pass document_id explicitly on pull_plan, push_plan (updates), and pull_code_feedback. Do not rely on the session remembering your current document — sessions can be lost.
  7. Always link code reviews to plans. When pushing a code review, if a plan document exists under the same project, pass its document_id as plan_document_id. If you don't have the ID handy, call list_documents(group="<project>") to find it. Never push an orphaned code review when a related plan exists.
  8. Subagents cannot call MCP tools. Only the lead/main agent has MCP access. If you are a subagent (teammate), send your plan or code review content back to the lead agent via SendMessage and ask them to push it to Weave on your behalf. Never attempt to call Weave tools directly from a subagent — it will fail.

Quick Workflow

1. push_plan(plan="...", source="claude-code", group="my-project", context="...")
   → Creates NEW document + project, returns document_id + URL
   → NEVER pass document_id here — let the server create a fresh document
2. Share the document URL with the user and STOP IMMEDIATELY.
   → STOP YOUR TURN HERE. Do not say anything else after sharing the URL.
   → Do NOT say "standing by", "let me know when ready", "I'll wait", or similar.
   → Do NOT poll, wait, loop, use extended thinking, or burn tokens idling.
   → Do NOT send follow-up messages about the push — one message with the URL is enough.
   → The user will come back and explicitly ask you to pull when they are ready.
3. pull_plan(document_id="<id-from-step-1>")  (only when the user asks)
   → Always pass document_id explicitly — don't rely on session memory
   → Returns markdown (readable plan), decisions (resolved threads), feedback (open threads to address)
4. Address any feedback, then proceed with the approved plan
5. If human requests changes:
   push_plan(document_id="<id-from-step-1>", plan="...", context="Updated based on feedback...")
   → Always pass document_id to update the SAME document

Code Review Workflow

Always link code reviews to their plan. When pushing a code review, check if there is a plan document under the same project (group). If you have the document_id from a previous push_plan in this session, pass it as plan_document_id. If you're unsure, call list_documents(group="<project>") to find the relevant plan. This links the code review to the plan in the UI so the reviewer can see the original intent alongside the implementation.

1. push_code_review(files=[...], source="claude-code", group="my-project",
     plan_document_id="<plan-doc-id>")
   → ALWAYS pass plan_document_id when a related plan exists under the same project
   → If you don't have the ID, call list_documents(group="my-project") to find it
   → Links the code review to the plan in the UI for traceability
   → Returns code_review_id + URL
2. Share the URL with the user and STOP IMMEDIATELY (same rules as push_plan — no "standing by").
3. pull_code_feedback(code_review_id="<id-from-step-1>")
   → Always pass code_review_id explicitly
   → Returns threads grouped by file_path with line ranges and comments
4. Address feedback, re-push with code_review_id to update the same review.

See references/plan-workflow.md for re-push, versioning, and advanced patterns. See references/code-review-workflow.md for the code review lifecycle. See references/multi-agent-teams.md for team/swarm coordination.

Core Concepts

  • Projects group related documents via the group param. Auto-created, session-sticky. See references/projects-and-sessions.md.
  • Session locking prevents terminal session conflicts (30-min TTL). See references/projects-and-sessions.md.
  • Web editing guard blocks terminal pushes while a human is editing (5-min TTL). Human is never locked out.
  • Code reviews use side-by-side Monaco diffs with line-specific threaded comments. See references/code-review-workflow.md.

Session Recovery

MCP sessions are in-memory — lost after /clear, /compact, dev server restart, or deploy. The server auto-recovers expired sessions transparently, but convenience state (currentDocumentId, sessionGroup) resets to null.

Always pass IDs explicitlydocument_id on pull_plan/push_plan updates, code_review_id on pull_code_feedback, and group on every push. This makes your calls fully resilient to session loss with zero recovery steps needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.03%
按下载量换算25

Claude

28.73%
按下载量换算21

Cursor

19.34%
按下载量换算14

Gemini CLI

10.26%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills