slug: fmode-SKILL_NAME displayName: SKILL_NAME version: 0.1.0 summary: SUMMARY license: MIT
SUMMARY
# CLI
npx --yes __SKILL_NAME__@latest greet world
# SDK
node -e "import('__SKILL_NAME__').then(m => console.log(m.greet('world')))"
| 能力 | CLI | SDK |
|---|---|---|
| 示例能力 | __CLI_NAME__ greet |
greet() |
本技能使用 Fmode 标准 5 级凭据链(命中即用):
FMODE_SESSION_TOKEN / ~/.fmode/config.json 的 sessionToken → 自举换 API tokenFMODE_API_TOKEN~/.fmode/config.json → fmodeApiToken<cwd>/.fmode/config.json → fmodeApiToken~/.claude/settings.json → env.ANTHROPIC_AUTH_TOKEN检查:__CLI_NAME__ auth
| 端点 | 状态 | 用途 |
|---|---|---|
POST /v1/chat/completions |
live | LLM 调用 |
POST /api/listen/transcribe |
live | 录音转写 |
⚠️ 调用任何
planned状态端点前必须先探测,404 时显式回落,不得当作已上线。
npm test # 冒烟测试
skill-core check . # 六项自动质检
skill-core publish . --apply # 四渠道发布
MIT