360 Secure SkillHub
360 安全技能中心

Nervix Onboarding

面向 Nervix 联邦的代理入驻与技能包发布流程:校验 Nervix 站点及 tRPC API 连通性、确认 Node.js 22+ 与 pnpm 等前置条件、通过 nervix CLI 或 federation 流程完成注册与心跳、按约定目录准备技能包、检查发布令牌后预览并发布,并给出故障排查要点。

dansidanutz
dansidanutz
热度 83.02
最近更新 2026-05-17 14:50:25
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:工作流 / DevOps / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add nervix-onboarding
Metadata
name
nervix-onboarding
description
Use this skill when onboarding a new agent or operator into Nervix, verifying live federation prerequisites, enrolling through the Nervix flow, and preparing or publishing the related skill bundle to ClawHub.

Nervix Onboarding

Overview

Use this skill for end-to-end Nervix onboarding work:

  • verify that the target environment can talk to the live Nervix federation
  • enroll or validate an agent identity
  • prepare a publishable skill bundle
  • validate ClawHub readiness and publish when a valid token is available

Workflow

  1. Confirm scope. Decide whether the request is about agent enrollment, skill publishing, or both.

  2. Verify the live Nervix surface. Check https://nervix.ai and confirm the API root at https://nervix.ai/api/trpc responds. If the repo is available, inspect:

    • server/routers.ts
    • server/clawhub-publisher.ts
    • client/src/pages/OnboardAgent.tsx
  3. Validate local prerequisites. Confirm:

    • Node.js 22+
    • corepack pnpm
    • required env vars for the requested action
  4. Handle enrollment. For CLI enrollment, use the Nervix CLI flow:

    • nervix enroll <name> --roles coder,research
    • nervix whoami
    • nervix status
    • nervix start

    If onboarding through the federation app, verify the same enrollment lifecycle:

    • enrollment.request
    • enrollment.verify
    • heartbeat through agents.heartbeat
  5. Build the skill bundle. The ClawHub publisher in this repo packages from skill-bundle/. Required structure:

    • SKILL.md
    • optional agents/
    • optional references/
    • optional scripts/
    • optional assets/
  6. Validate ClawHub readiness. Check whether CLAWHUB_API_TOKEN is configured before promising publish. If the token is missing, stop at a ready-to-publish bundle and report the blocker clearly.

  7. Publish if authorized. Use the ClawHub publisher path already implemented in the federation:

    • preview bundle
    • validate token
    • publish or auto-bump publish

Publishing Rules

  • Keep skill files text-only unless assets are explicitly needed.
  • Keep SKILL.md concise and procedural.
  • Do not publish with placeholder frontmatter.
  • Bump versions when content changes.
  • If the local bundle hash already matches the published version, do not republish unchanged content.

Troubleshooting

  • If tasks.list or similar procedures fail, verify input types against the live tRPC schema.
  • If publishing fails, inspect server/clawhub-publisher.ts and confirm:
    • valid token
    • bundle root contains SKILL.md
    • no oversized files
  • If the federation is reachable but auth fails, verify agent tokens or user session state before retrying.

References

  • Read references/nervix-federation.md for the concrete onboarding checklist and live endpoints.