picoclaw-agent
它能做什么
这项技能帮助你设置和管理 PicoClaw,这是一个个人 AI 助手框架。内容涵盖它的命令行工具、配置文件、聊天网关、模型、技能和定时任务。
适用场景
- ✓当你想在电脑上设置或配置 PicoClaw 的时候。
- ✓当 PicoClaw 的表现不符合预期,需要排查问题时。
- ✓当你想为 PicoClaw 添加模型、技能或 MCP 服务器时。
技能链接
https://github.com/sipeed/picoclaw/blob/main/workspace/skills/picoclaw-agent/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我设置 PicoClaw,连接我的 OpenAI 账户,并检查一切是否正常。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会按照 PicoClaw 自己的命令和配置文件操作,并在过程中检查状态和日志。它以官方文档和源代码作为了解工作方式的依据。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PicoClaw Agent
PicoClaw is a lightweight personal AI assistant and agent framework with a native CLI, chat gateway, MCP integration, installable skills, session routing, scheduled jobs, and self-evolution.
Use this skill when the job is about PicoClaw itself: onboarding, configuration, debugging, adding features, extending the CLI, changing routing/session behavior, working on skills or MCP support, or contributing to this repository.
Operating Stance
When this skill is active, stay fully subordinate to PicoClaw's real architecture:
- Prefer PicoClaw commands, config keys, workspace layout, and docs.
- Follow PicoClaw source and docs for behavior, naming, and workflows.
- Treat repository code and checked-in docs as the source of truth.
Quick Start
# Initialize ~/.picoclaw/config.json and ~/.picoclaw/workspace
picoclaw onboard
# Authenticate a provider
picoclaw auth login --provider openai
# Inspect or switch the default model
picoclaw model
picoclaw model my-default-model
# One-shot prompt
picoclaw agent -m "Hello"
# Interactive CLI chat
picoclaw agent
# Start the gateway for chat channels
picoclaw gateway
# Inspect runtime/config health
picoclaw status
# Explore installed skills and MCP servers
picoclaw skills list
picoclaw mcp list
Command Surface
Core CLI
picoclaw onboard
picoclaw agent [-m MESSAGE] [--session KEY] [--model MODEL] [--debug]
picoclaw gateway [--debug] [--no-truncate] [--allow-empty] [--host HOST]
picoclaw status
picoclaw version
picoclaw migrate
Configuration and Models
# Show or change the default configured model alias
picoclaw model
picoclaw model <model_name>
# Add a model from an OpenAI-compatible endpoint
picoclaw model add --api-base URL --api-key KEY
picoclaw model add -b http://localhost:8000/v1 -k dummy -m my-model -n local
# Reset config to factory defaults (preserves sensitive keys)
picoclaw config reset
picoclaw config reset --force
Notes:
- There is no general
picoclaw config editorpicoclaw config set. - Advanced edits are usually done by editing
~/.picoclaw/config.jsondirectly.
Authentication
picoclaw auth login --provider openai
picoclaw auth login --provider anthropic --setup-token
picoclaw auth login --provider antigravity --device-code
picoclaw auth models
picoclaw auth status
picoclaw auth logout --provider openai
picoclaw auth weixin
picoclaw auth wecom --timeout 10m
Skills
picoclaw skills list
picoclaw skills show <name>
picoclaw skills search "query"
picoclaw skills install owner/repo/path
picoclaw skills install --registry clawhub <slug>
picoclaw skills remove <name>
picoclaw skills list-builtin
picoclaw skills install-builtin
Skill loading priority is:
~/.picoclaw/workspace/skills~/.picoclaw/skills- builtin embedded skills
MCP
picoclaw mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /tmp
picoclaw mcp add --deferred github --env-file .env.github -- npx -y @modelcontextprotocol/server-github
picoclaw mcp list
picoclaw mcp list --status
picoclaw mcp show github
picoclaw mcp test github
picoclaw mcp edit
picoclaw mcp remove github
Notes:
picoclaw mcpis a configuration manager fortools.mcp.servers.- It does not keep servers running by itself; the host/gateway loads them later.
Cron
picoclaw cron list
picoclaw cron add --name "Daily summary" --message "Summarize today's logs" --cron "0 18 * * *"
picoclaw cron add --name "Ping" --message "heartbeat" --every 300 --deliver
picoclaw cron enable <job-id>
picoclaw cron disable <job-id>
picoclaw cron remove <job-id>
Notes:
- The current CLI
picoclaw cron addsupports recurring jobs only:--everyor--cron. - One-shot
at_secondsjobs exist in the cron system, but not as a first-class CLI flag today.
Providers
PicoClaw supports 30+ LLM providers through model_list.
Credential patterns in PicoClaw are:
model_list[].api_keysfor most hosted APIspicoclaw auth login --provider ...for the built-in auth helper flows (openai,anthropic,antigravity)- local or self-hosted endpoints for providers like
ollama,lmstudio,vllm, andlitellm - external platform credentials for providers like
bedrock,azure, andgithub-copilot
picoclaw auth login does not cover every provider. For most providers, the normal path is adding a model_list entry with provider, model, and `api_
常见问题
第一次使用 PicoClaw 应该怎么开始?
第一步是运行一个引导命令,它会创建配置和工作区文件夹。
它能连接聊天应用吗?
能。网关命令会启动聊天渠道的集成。
如何检查 PicoClaw 是否正常?
状态命令会显示运行时和配置的健康情况。
详情
作者的原始描述
Configure, extend, debug, or contribute to PicoClaw itself. Use when the task is about PicoClaw CLI commands, config.json, gateway, auth, models, skills, MCP servers, cron, routing, sessions, self-evolution, built-in slash commands, or repository internals. Use PicoClaw-native workflows, terminology, paths, and configuration.
repo: sipeed/picoclaw
热度
- GitHub 星标
- 30k
- 排名
- #9357
- 许可证
- MIT
- 更新时间
- 2026/10/30
评论
- …