Build original LangGraph agents for Warden Protocol and prepare them for publishing in Warden Studio. Use this skill when users want to: (1) Create new Warden agents (not community examples), (2) Build LangGraph-based crypto/Web3 agents, (3) Deploy agents via LangSmith Deployments or custom infra, (4) Participate in the Warden Agent Builder Incentive Programme (open to OpenClaw agents), or (5) Integrate with Warden Studio for Agent Hub publishing.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install build-warden-agent或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install build-warden-agent⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/build-warden-agent/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: warden-agent-builder description: "Build original LangGraph agents for Warden Protocol and prepare them for publishing in Warden Studio. Use this skill when users want to: (1) Create new Warden agents (not community examples), (2) Build LangGraph-based crypto/Web3 agents, (3) Deploy agents via LangSmith Deployments or custom infra, (4) Participate in the Warden Agent Builder Incentive Programme (open to OpenClaw agents), or (5) Integrate with Warden Studio for Agent Hub publishing." ---
Build and deploy LangGraph agents for Warden Protocol's Agentic Wallet ecosystem.
The Warden community repository contains example agents for learning, not templates to recreate:
DO NOT BUILD THESE AGENTS - they already exist. Instead:
Your agent must be unique and solve a different problem to be eligible for the incentive programme.
Warden Protocol is an "Agentic Wallet for the Do-It-For-Me economy" with an active Agent Builder Incentive Programme open to OpenClaw agents that deploy to Warden. All agents must be LangGraph-based and API-accessible.
Key Resources:
Before building, ensure your agent meets these mandatory requirements:
✓ Framework: Built with LangGraph (TypeScript or Python) ✓ Deployment: LangSmith Deployments OR custom infrastructure ✓ Access: API-accessible (no UI required - Warden provides UI) ✓ Isolation: One agent per LangGraph instance ✓ Security Limitations (Phase 1): - Cannot access user wallets - Cannot store data on Warden infrastructure
✓ Functionality: Can implement any workflow: - Web3/Web2 automation - API integrations - Database connections - External tool interactions
The community-agents repository contains reference examples to learn from, NOT templates to recreate:
Location: agents/langgraph-quick-start (TypeScript) or agents/langgraph-quick-start-py (Python) Learn: LangGraph fundamentals, minimal agent structure Study: Single-node chatbot with OpenAI integration
git clone https://github.com/warden-protocol/community-agents.git
cd community-agents/agents/langgraph-quick-start
Location: agents/weather-agent Learn: Simple data fetching, API integration, user-friendly responses Study:
⚠️ DO NOT BUILD: This already exists. Study it, then build something NEW.
Location: agents/coingecko-agent Learn: Schema-Guided Reasoning, complex workflows Study:
⚠️ DO NOT BUILD: This already exists. Study the pattern, apply to new use cases.
Location: agents/portfolio-agent Learn: Multi-source data synthesis, production architecture Study:
⚠️ DO NOT BUILD: This already exists. Study the architecture for your own complex agent.
These examples exist to teach patterns and best practices. For the incentive programme, you MUST create an original, unique agent that solves a different problem. Do NOT simply recreate the Weather Agent, CoinGecko Agent, or Portfolio Agent.
DO NOT clone an example to modify it. Instead:
- Simple data fetching → Study Weather Agent - Complex analysis → Study CoinGecko Agent - Multi-source synthesis → Study Portfolio Agent
- What problem will your agent solve? - What APIs or data sources will it use? - What makes it different from existing agents?
- Simple request-response? - Schema-Guided Reasoning (SGR)? - Multi-step analysis?
Use the initialization script to create a fresh project:
# Create your unique agent
python scripts/init-agent.py my-unique-agent \
--template typescript \
--description "Description of what YOUR agent does"
# Navigate to project
cd my-unique-agent
# Install dependencies
npm install # TypeScript
# OR
pip install -r requirements.txt # Python
This creates a clean starting point, not a copy of existing agents.
Every LangGraph agent follows this basic structure:
your-agent/
├── src/
│ ├── agent.ts/py # Main agent logic (YOUR CODE)
│ ├── graph.ts/py # LangGraph workflow definition (YOUR CODE)
│ └── tools.ts/py # Tool implementations (YOUR CODE)
├── package.json / requirements.txt
├── langgraph.json # LangGraph configuration
└── README.md
Key files to implement:
graph.ts/py - Define your workflow (validate → process → respond)agent.ts/py - Implement your core logictools.ts/py - Integrate external APIs specific to YOUR agent's purposeStudy patterns from examples, apply to YOUR use case:
If building a simple data fetcher (like Weather Agent pattern):
// Define workflow
const workflow = new StateGraph({
channels: agentState
})
.addNode("fetch", fetchYourData) // YOUR API
.addNode("process", processYourData) // YOUR logic
.addNode("respond", generateResponse);
workflow
.addEdge(START, "fetch")
.addEdge("fetch", "process")
.addEdge("process", "respond")
.addEdge("respond", END);
If building complex analysis (like CoinGecko Agent pattern - SGR):
// Define 5-step SGR workflow
const workflow = new StateGraph({
channels: agentState
})
.addNode("validate", validateYourInput) // YOUR validation
.addNode("extract", extractYourParams) // YOUR extraction
.addNode("fetch", fetchYourData) // YOUR APIs
.addNode("analyze", analyzeYourData) // YOUR analysis
.addNode("generate", generateYourResponse); // YOUR formatting
workflow
.addEdge(START, "validate")
.addEdge("validate", "extract")
.addEdge("extract", "fetch")
.addEdge("fetch", "analyze")
.addEdge("analyze", "generate")
.addEdge("generate", END);
Key Principles:
CRITICAL: This should be YOUR implementation solving YOUR problem, not a copy of the example agents.
Create .env file:
# Required
OPENAI_API_KEY=your_openai_key
# Required for LangSmith Deployments (cloud)
LANGSMITH_API_KEY=your_langsmith_key
...安装 Build an Agent with Warden 后,可以对 AI 说这些话来触发它
Help me get started with Build an Agent with Warden
Explains what Build an Agent with Warden does, walks through the setup, and runs a quick demo based on your current project
Use Build an Agent with Warden to build original LangGraph agents for Warden Protocol and prepare the...
Invokes Build an Agent with Warden with the right parameters and returns the result directly in the conversation
What can I do with Build an Agent with Warden in my developer & devops workflow?
Lists the top use cases for Build an Agent with Warden, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/build-warden-agent/ 目录(个人级,所有项目可用),或 .claude/skills/build-warden-agent/(项目级)。重启 AI 客户端后,用 /build-warden-agent 主动调用,或让 AI 根据上下文自动发现并使用。
Build an Agent with Warden 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Build an Agent with Warden 可免费安装使用。请查阅仓库了解许可证信息。
Build original LangGraph agents for Warden Protocol and prepare them for publishing in Warden Studio. Use this skill when users want to: (1) Create new Warden agents (not community examples), (2) Build LangGraph-based crypto/Web3 agents, (3) Deploy agents via LangSmith Deployments or custom infra, (4) Participate in the Warden Agent Builder Incentive Programme (open to OpenClaw agents), or (5) Integrate with Warden Studio for Agent Hub publishing.
Automate my developer & devops tasks using Build an Agent with Warden
Identifies repetitive steps in your workflow and sets up Build an Agent with Warden to handle them automatically
Build an Agent with Warden 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。