[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BVY6V7MBC7K1A6TYK0XEMB":3,"skill-same:01M6BVY6V7MBC7K1A6TYK0XEMB":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":15,"repositoryHtmlUrl":46,"repositoryHomepageUrl":17,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":17,"updatedAt":49,"install":50,"resources":63},"01M6BVY6V7MBC7K1A6TYK0XEMB","agent-server-api","agent-server 会话创建 API","How to create conversations via the agent-server REST API. Use when delegating coding tasks to agent-server or spawning new agent conversations.","如何通过 agent-server REST API 创建会话。当把编码任务委派给 agent-server 或启动新的智能体会话时使用。","rbren\u002Fdotfiles","rbren","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7611973?v=4","01M6BVY4STMZXQPSZ27TYQ01FV","Robert Brennan","01M6BVY4YMQH5QN2CN7C55KNH2",0,"MIT",null,"https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-server-api\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派","SCENARIO","使用场景",[31,32,33,34,35,36,37],"server","api","agent server api","tasks","create","REST","how","2026-11-10 10:12:30",false,"---\nname: agent-server-api\ndescription: How to create conversations via the agent-server REST API. Use when delegating coding tasks to agent-server or spawning new agent conversations.\nlicense: MIT\n---\n\n# Agent Server API — Creating Conversations\n\n## Server Locations\n- **Primary (conversations app):** `http:\u002F\u002Flocalhost:4004`\n- **Vibe app:** `http:\u002F\u002Flocalhost:4041`\n- Source code: `~\u002Fgit\u002Fsoftware-agent-sdk\u002Fopenhands-agent-server\u002F`\n\n## Authentication\n- Header: `X-Session-API-Key`\n- Value comes from env var `OH_SESSION_API_KEYS_0`\n\n## Create a Conversation\n\n**POST** `\u002Fapi\u002Fconversations`\n\n### Minimal Payload\n```json\n{\n  \"agent\": {\n    \"llm\": {\n      \"model\": \"anthropic\u002Fclaude-sonnet-4-20250514\",\n      \"api_key\": \"\u003CANTHROPIC_API_KEY>\"\n    },\n    \"tools\": [{\"name\": \"terminal\"}, {\"name\": \"file_editor\"}]\n  },\n  \"workspace\": {\n    \"type\": \"local\",\n    \"working_dir\": \"\u002Fpath\u002Fto\u002Fproject\"\n  },\n  \"initial_message\": {\n    \"role\": \"user\",\n    \"content\": [{\"type\": \"text\", \"text\": \"Your task description here\"}],\n    \"run\": true\n  }\n}\n```\n\n### Key Fields\n\n| Field | Required | Notes |\n|-------|----------|-------|\n| `agent.llm.model` | yes | Format: `provider\u002Fmodel-name` |\n| `agent.llm.api_key` | yes | Use `$ANTHROPIC_API_KEY` from env |\n| `agent.tools` | yes | Array of `{\"name\": \"...\"}` objects. Common: `terminal`, `file_editor`, `browser_tool_set`, `task_tracker`, `delegate` |\n| `workspace.type` | yes | Always `\"local\"` on this machine |\n| `workspace.working_dir` | yes | Absolute path to the project root |\n| `initial_message` | no | If provided with `\"run\": true`, agent starts immediately |\n| `initial_message.content` | — | Array of `{\"type\": \"text\", \"text\": \"...\"}` objects |\n| `max_iterations` | no | Default 500. Cap to prevent runaway agents |\n| `conversation_id` | no | UUID. Auto-generated if omitted |\n| `confirmation_policy` | no | Defaults to `NeverConfirm()` |\n| `secrets` | no | Dict of secret name → source |\n| `autotitle` | no | Default true. Auto-generates title from first message |\n\n### Example curl\n```bash\ncurl -s -X POST http:\u002F\u002Flocalhost:4004\u002Fapi\u002Fconversations \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -H \"X-Session-API-Key: $AGENT_SERVER_API_KEY\" \\\n  -d '{\n    \"agent\": {\n      \"llm\": {\n        \"model\": \"anthropic\u002Fclaude-sonnet-4-20250514\",\n        \"api_key\": \"'\"$ANTHROPIC_API_KEY\"'\"\n      },\n      \"tools\": [{\"name\": \"terminal\"}, {\"name\": \"file_editor\"}]\n    },\n    \"workspace\": {\n      \"type\": \"local\",\n      \"working_dir\": \"\u002Froot\u002Fgit\u002Fmy-project\"\n    },\n    \"initial_message\": {\n      \"role\": \"user\",\n      \"content\": [{\"type\": \"text\", \"text\": \"Fix the bug in main.py\"}],\n      \"run\": true\n    },\n    \"max_iterations\": 100\n  }'\n```\n\n### Response\nReturns `ConversationInfo` with status 201 (new) or 200 (existing):\n```json\n{\n  \"id\": \"uuid-here\",\n  \"status\": \"running\",\n  \"workspace\": { \"type\": \"local\", \"working_dir\": \"...\" },\n  ...\n}\n```\n\n## Other Useful Endpoints\n\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | `\u002Fapi\u002Fconversations\u002Fsearch` | List\u002Fsearch conversations |\n| POST | `\u002Fapi\u002Fconversations\u002F{id}\u002Fmessage` | Send message to existing conversation |\n| POST | `\u002Fapi\u002Fconversations\u002F{id}\u002Fpause` | Pause a conversation |\n| POST | `\u002Fapi\u002Fconversations\u002F{id}\u002Fresume` | Resume a paused conversation |\n| DELETE | `\u002Fapi\u002Fconversations\u002F{id}` | Delete a conversation |\n| GET | `\u002Fapi\u002Fconversations\u002F{id}\u002Fevents` | Get conversation events |\n\n## Notes\n- The `working_dir` in workspace is where the agent's terminal starts and where file operations are rooted\n- `\"run\": true` on the initial message means the agent loop starts automatically after receiving the message\n- Conversations persist across agent-server restarts via `meta.json` files\n- Terminal sessions use tmux (`tmux -Lopenhands` socket) — these can leak if cleanup fails (see known bugs in the codebase)\n","# Agent Server API — Creating Conversations\n\n## Server Locations\n- **Primary (conversations app):** `http:\u002F\u002Flocalhost:4004`\n- **Vibe app:** `http:\u002F\u002Flocalhost:4041`\n- Source code: `~\u002Fgit\u002Fsoftware-agent-sdk\u002Fopenhands-agent-server\u002F`\n\n## Authentication\n- Header: `X-Session-API-Key`\n- Value comes from env var `OH_SESSION_API_KEYS_0`\n\n## Create a Conversation\n\n**POST** `\u002Fapi\u002Fconversations`\n\n### Minimal Payload\n```json\n{\n  \"agent\": {\n    \"llm\": {\n      \"model\": \"anthropic\u002Fclaude-sonnet-4-20250514\",\n      \"api_key\": \"\u003CANTHROPIC_API_KEY>\"\n    },\n    \"tools\": [{\"name\": \"terminal\"}, {\"name\": \"file_editor\"}]\n  },\n  \"workspace\": {\n    \"type\": \"local\",\n    \"working_dir\": \"\u002Fpath\u002Fto\u002Fproject\"\n  },\n  \"initial_message\": {\n    \"role\": \"user\",\n    \"content\": [{\"type\": \"text\", \"text\": \"Your task description here\"}],\n    \"run\": true\n  }\n}\n```\n\n### Key Fields\n\n| Field | Required | Notes |\n|-------|----------|-------|\n| `agent.llm.model` | yes | Format: `provider\u002Fmodel-name` |\n| `agent.llm.api_key` | yes | Use `$ANTHROPIC_API_KEY` from env |\n| `agent.tools` | yes | Array of `{\"name\": \"...\"}` objects. Common: `terminal`, `file_editor`, `browser_tool_set`, `task_tracker`, `delegate` |\n| `workspace.type` | yes | Always `\"local\"` on this machine |\n| `workspace.working_dir` | yes | Absolute path to the project root |\n| `initial_message` | no | If provided with `\"run\": true`, agent starts immediately |\n| `initial_message.content` | — | Array of `{\"type\": \"text\", \"text\": \"...\"}` objects |\n| `max_iterations` | no | Default 500. Cap to prevent runaway agents |\n| `conversation_id` | no | UUID. Auto-generated if omitted |\n| `confirmation_policy` | no | Defaults to `NeverConfirm()` |\n| `secrets` | no | Dict of secret name → source |\n| `autotitle` | no | Default true. Auto-generates title from first message |\n\n### Example curl\n```bash\ncurl -s -X POST http:\u002F\u002Flocalhost:4004\u002Fapi\u002Fconversations \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -H \"X-Session-API-Key: $AGENT_SERVER_API_KEY\" \\\n  -d '{\n    \"agent\": {\n      \"llm\": {\n        \"model\": \"anthropic\u002Fclaude-sonnet-4-20250514\",\n        \"api_key\": \"'\"$ANTHROPIC_API_KEY\"'\"\n      },\n      \"tools\": [{\"name\": \"terminal\"}, {\"name\": \"file_editor\"}]\n    },\n    \"workspace\": {\n      \"type\": \"local\",\n      \"working_dir\": \"\u002Froot\u002Fgit\u002Fmy-project\"\n    },\n    \"initial_message\": {\n      \"role\": \"user\",\n      \"content\": [{\"type\": \"text\", \"text\": \"Fix the bug in main.py\"}],\n      \"run\": true\n    },\n    \"max_iterations\": 100\n  }'\n```\n\n### Response\nReturns `ConversationInfo` with status 201 (new) or 200 (existing):\n```json\n{\n  \"id\": \"uuid-here\",\n  \"status\": \"running\",\n  \"workspace\": { \"type\": \"local\", \"working_dir\": \"...\" },\n  ...\n}\n```\n\n## Other Useful Endpoints\n\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | `\u002Fapi\u002Fconversations\u002Fsearch` | List\u002Fsearch conversations |\n| POST | `\u002Fapi\u002Fconversations\u002F{id}\u002Fmessage` | Send message to existing conversation |\n| POST | `\u002Fapi\u002Fconversations\u002F{id}\u002Fpause` | Pause a conversation |\n| POST | `\u002Fapi\u002Fconversations\u002F{id}\u002Fresume` | Resume a paused conversation |\n| DELETE | `\u002Fapi\u002Fconversations\u002F{id}` | Delete a conversation |\n| GET | `\u002Fapi\u002Fconversations\u002F{id}\u002Fevents` | Get conversation events |\n\n## Notes\n- The `working_dir` in workspace is where the agent's terminal starts and where file operations are rooted\n- `\"run\": true` on the initial message means the agent loop starts automatically after receiving the message\n- Conversations persist across agent-server restarts via `meta.json` files\n- Terminal sessions use tmux (`tmux -Lopenhands` socket) — these can leak if cleanup fails (see known bugs in the codebase)\n",{"name":5,"license":16,"description":7},"master","290120dc514b6e7b6c945db7354fea3ea80c8c37","skills\u002Fagent-server-api","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Frbren","rbren.io","2026-05-08 00:12:29",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add rbren\u002Fdotfiles --skill agent-server-api",{"tool":56,"command":57},"bunx","bunx skills add rbren\u002Fdotfiles --skill agent-server-api",{"tool":59,"command":60},"pnpm","pnpm dlx skills add rbren\u002Fdotfiles --skill agent-server-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-server-api\u002FSKILL.md",true,[],[65,84,105,120,138,151],{"skillNo":66,"name":67,"nameZh":68,"description":69,"descriptionZh":70,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":71,"categories":72,"keywords":79,"publishedAt":38},"01M6BVYXK6WJYT8JWSEXTBZWVZ","this-environment","DigitalOcean 服务器环境指南","Complete guide to this DigitalOcean droplet running openhands-remote at oh.rbren.io — hardware, networking, apps, auth, DNS, and how to add new things","运行于 oh.rbren.io 的 DigitalOcean 云服务器（部署 openhands-remote）的完整指南——涵盖硬件、网络、应用、认证、DNS，以及如何添加新内容。","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Fthis-environment\u002FSKILL.md",[73,76],{"categoryNo":74,"categoryName":75,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":77,"categoryName":78,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C6RQ852C9AEJFCBGG1YA7S","IT 管理员",[80,37,81,82,83],"this environment","dns","networking","auth",{"skillNo":85,"name":86,"nameZh":87,"description":88,"descriptionZh":89,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":90,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":99,"publishedAt":38},"01M6BVYVK3FQV4GCWKGQKJP9CM","skill-creator","Agent 技能创建指南","Guide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool integrations. Use when the user wants to create or update a skill.","用于创建高效技能的指南，通过专业知识、工作流或工具集成扩展智能体能力。当用户想要创建或更新技能时使用。","Apache-2.0","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Fskill-creator\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":97,"categoryName":98,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[100,35,101,102,103,104],"skill creator","knowledge","capabilities","update","workflows",{"skillNo":106,"name":107,"nameZh":108,"description":109,"descriptionZh":110,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":111,"categories":112,"keywords":119,"publishedAt":38},"01M6BVYTGN4ZG2G4EJ8B45H97H","rethink","重新思考","When I tell you to rethink, use this skill","当我让你重新思考时，使用此技能。","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Frethink\u002FSKILL.md",[113,116],{"categoryNo":114,"categoryName":115,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTBRV70X1T1B33XJ0GW1TW","方案质询与决策压力测试",[107],{"skillNo":121,"name":122,"nameZh":123,"description":124,"descriptionZh":125,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":132,"publishedAt":38},"01M6BVYRR991NQ2M73JGKA978R","rbren-snippets","Slack 片段频道笔记","The #rbren-snippets Slack channel (ID: C0APBQYQTFV) is Robert's personal scratchpad for thoughts, observations, bug notes, and dev environment updates.","#rbren-snippets Slack 频道（ID：C0APBQYQTFV）是 Robert 的个人草稿本，用于记录想法、观察、bug 笔记和开发环境更新。","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Frbren-snippets\u002FSKILL.md",[128,129],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":130,"categoryName":131,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BREN0B06CC08183RHQ4ETG","即时通讯与消息处理",[133,134,135,136,137],"rbren snippets","dev","notes","slack","personal",{"skillNo":139,"name":140,"nameZh":141,"description":142,"descriptionZh":143,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":150,"publishedAt":38},"01M6BVYQJRAZPTQHJDHHYWFVKM","nginx","nginx 配置与管理","How nginx is configured and managed for openhands-remote","openhands-remote 中 nginx 的配置和管理方式。","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Fnginx\u002FSKILL.md",[146,149],{"categoryNo":147,"categoryName":148,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":74,"categoryName":75,"taxonomyType":28,"taxonomyTypeDesc":29},[140,37],{"skillNo":152,"name":153,"nameZh":154,"description":155,"descriptionZh":156,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":157,"categories":158,"keywords":161,"publishedAt":38},"01M6BVYMRW49R1W71X986J01GW","local-projects","本地项目路径查询","local projects are stored in ~\u002Fgit\u002F","本地项目存储在 ~\u002Fgit\u002F 目录中。","https:\u002F\u002Fgithub.com\u002Frbren\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fskills\u002Flocal-projects\u002FSKILL.md",[159,160],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":74,"categoryName":75,"taxonomyType":28,"taxonomyTypeDesc":29},[162,163,164],"projects","local projects","git"]