Skip to content
Agentmart
Submit a tool

os-register

Auto-register as a team member when joining an AI Team OS project

Skill by amar3012005

IndexedApache-2.0
Write a review

Chalk Labs

Need help deploying os-register?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/amar3012005-os-register

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Auto-register as a team member when joining an AI Team OS project

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/os-register

What's inside

Skill name
os-register
Description
Auto-register as a team member when joining an AI Team OS project
License
Apache-2.0
Instructions
108 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# OS Register — 启动注册与状态汇报

当你作为团队成员启动时,必须立即向 AI Team OS 注册自己。这确保 OS 能追踪你的存在、状态和活动。

## 步骤

### 0. 读取系统规则

启动后第一件事——读取并遵守OS系统规则:

```
使用 Bash: curl -s http://localhost:8000/api/system/rules | python -c "import json,sys; rules=json.load(sys.stdin); [print(f'  [{r[\"id\"]}] {r[\"name\"]}') for r in rules.get('advisory_rules',[])]"
```

这些规则指导你的行为(团队管理、会议组织、任务分配等),必须遵守。

规则已通过SessionStart自动注入,可通过 `GET /api/system/rules` 查看完整规则。

> 正常情况下Agent注册已由hook_translator自动完成,此skill为手动备份流程。

### 1. 健康检查

首先确认 OS API 服务可达:

```
使用 MCP tool: os_health_check
```

如果返回 `unhealthy`,尝试自动启动服务:

```bash
# 在项目根目录执行(即包含 pyproject.toml 的目录)
python -m uvicorn aiteam.api.app:create_app --host 0.0.0.0 --port 8000 --factory &
```

等待3秒后重试 `os_health_check`。如果仍然失败,跳过注册,不影响你的正常工作。

### 2. 确定团队

检查是否有目标团队:

```
使用 MCP tool: team_list
```

- 如果你知道要加入的团队名称,从列表中找到对应的 `team_id`
- 如果团队不存在,使用 `team_create` 创建
- 如果未指定团队,加入列表中的第一个团队

### 3. 注册自己

向团队注册:

```
使用 MCP tool: agent_register
参数:
  team_id: <目标团队ID>
  name: <你的名称>
  role: <你的角色描述>
  model: <你使用的模型,如 claude-opus-4-6>
  system_prompt: <你的职责描述>
```

**重要**: 记录返回的 `agent_id`,后续所有操作都需要用到。

### 4. 更新状态为 BUSY

注册完成后立即标记自己为工作中:

```
使用 MCP tool: agent_update_status
参数:
  agent_id: <你的agent_id>
  status: "busy"
```

### 5. 阅读注册返回的团队快照

`agent_register` 返回值已包含 `team_snapshot`(队友列表、待办任务详情、最近会议),直接阅读:

- **如果 `pending_tasks` 中有分配给你的任务** → 立即开始执行,无需等待Leader指令
- **如果有未分配的待办任务** → 向Leader请示是否由你接手
- **如果没有待办任务** → 告知Leader你已就绪,等待分配
- **查看 `teammates` 列表** → 了解队友是谁、在做什么,避免重复工作
- **查看 `recent_meeting`** → 了解最近的讨论和决策

> 注意:无需额外调用 `team_briefing`,注册返回值已包含所需信息。仅在需要查看最近事件详情时才调用 `team_briefing`。

### 6. 完成任务后更新状态

当你完成所有工作准备退出时,将状态设为 idle:

```
使用 MCP tool: agent_update_status
参数:
  agent_id: <你的agent_id>
  status: "idle"
```

## 注意事项

- 注册是幂等的:如果你已经注册过(同名同团队),API 会返回已有的 agent 记录
- 始终在开始工作前完成注册,这是参与团队协作的前提
- 你的 `agent_id` 在会议发言、任务分配等场景中都会用到,务必保存
- 注册后 `agent_register` 返回值已包含完整 `team_snapshot`(队友列表、待办任务详情、最近会议),无需额外调用 `team_briefing`
- 新增MCP tool后执行 /mcp → 选择 ai-team-os → Reconnect 刷新工具列表,无需重启CC

From amar3012005/BLAIQ-CORE, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 11, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from amar3012005

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get os-register running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying os-register?

CallGet help
Cite this page

os-register skill. Agent Mart. https://agentmart.dev/skills/amar3012005-os-register (last updated 2026-10-24)