部署与云(DevOps)8.5k · #12438
operational-home-layout
它能做什么
这项技能是 Firstmate 用于设置、数据、项目工作和生成输出的文件夹与文件的地图。适合需要安全地找到或修改这些文件的人。
适用场景
- ✓当你需要找到 Firstmate 保存某个设置或数据的位置时。
- ✓当你想修改配置文件,并需要知道它是本地的还是共享的时候。
- ✓当项目路径或生成的文件似乎位于错误的位置时。
技能链接
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/operational-home-layout/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/operational-home-layout/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add kunchenguid/firstmate --skill operational-home-layout
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/kunchenguid/firstmate/main/.agents/skills/operational-home-layout/SKILL.md -o SKILL.md
可以这样问 AI
“请告诉我 Firstmate 在哪里保存本地设置和项目文件,以及其中哪些可以安全编辑。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能说明每个主要文件夹及其用途,例如共享代码、本地设置和状态。智能体会利用这张地图判断哪些文件属于你的主目录,哪些属于某个项目。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Operational home layout
AGENTS.md this file (CLAUDE.md is a real @AGENTS.md pointer to it)
CONTRIBUTING.md contributor workflow and repo conventions
README.md public overview and development notes
.github/workflows/ shared CI and PR enforcement, committed
.tasks.toml tracked tasks-axi markdown backend config for the default backlog backend (section 10)
.agents/skills/ firstmate-loaded internal skills, committed; each carries metadata.internal=true for installers
.claude/skills symlink to .agents/skills for claude compatibility
.claude/mods/ Claude Code mods (function-hooks plugins), committed; Calm's module may load through CLAUDE_CODE_ENABLE_FUNCTION_HOOKS or tengu_plugin_hooks_modules, but activates only when CLAUDE_CODE_ENABLE_FUNCTION_HOOKS is exactly "1" and is otherwise a complete no-op (docs/calm.md)
skills/ standalone public installer-facing skills, committed; not loaded by firstmate
bin/ helper scripts, committed; read each script's header before first use
.env optional Relay pairing token (presence-gates section 14), mail-plane credentials (schema: docs/configuration.md "Mail plane"), and typed dispatch provider, model, and key settings (docs/configuration.md "Typed dispatch resolution"); LOCAL, gitignored
config/crew-harness crewmate harness override; LOCAL, gitignored; absent or "default" = same as firstmate. Inherited as the literal file: a concrete primary adapter value also controls a secondmate home's own crewmates (section 4)
config/claude-permission-mode optional worker permission posture; LOCAL, gitignored; schema and failover: docs/configuration.md "Claude permission mode" and "Persistent managed-policy failover"
config/codex-approval-mode optional worker approval posture; LOCAL, gitignored; schema and failover: docs/configuration.md "Codex automatic approval review" and "Persistent managed-policy failover"
config/claude-account config/pi-account optional per-home worker account pin for Claude and Pi launches; LOCAL, gitignored, not inherited; absent keeps today's ambient account; present refuses a launch unless the pinned account resolves and is signed in (section 4 owns the refusal rule); see docs/configuration.md "Worker account pin"
config/secondmate-accounts/<id>/claude-account config/secondmate-accounts/<id>/pi-account optional PRIMARY-home account pin for one local secondmate's own agent, in the worker account pin format; LOCAL, gitignored, not inherited; absent keeps the home-wide pin; see docs/configuration.md "Per-secondmate account pins"
config/secondmate-accounts/<id>/omp-profile optional PRIMARY-home omp profile name for one local omp secondmate's own agent (`omp --profile <name>`); LOCAL, gitignored, not inherited; absent adds no flag; see docs/configuration.md "Per-secondmate omp profile"
config/crew-dispatch.json optional crewmate dispatch profiles; LOCAL, gitignored; firstmate-maintained but human-editable natural-language rules that choose a per-task harness/model/effort profile (section 4). Inherited by secondmate homes
config/project-capacity optional per-machine count of workers each named project admits at once, read from the root home by every local home; LOCAL, gitignored; see docs/configuration.md "Project capacity"
config/secondmate-harness primary-local secondmate runtime pins; see docs/configuration.md "Choose the secondmate harness" for schema, precedence, and inheritance
config/lane-capacity optional lane cap and limits for this home, read by bin/fm-capacity.sh and the opt-in that makes its watcher publish state/lane-capacity.json; LOCAL, gitignored, not inherited by secondmate homes; see docs/configuration.md "Lane capacity"
config/backlog-backend backlog backend override; LOCAL, gitignored; absent or "tasks-axi" = the configured tasks-axi backend, "manual" = force routine backlog updates to hand-editing; inherited by secondmate homes (section 10)
config/backend runtime session-provider backend override for new tasks; LOCAL, gitignored; docs/configuration.md "Runtime backend" owns supported values, selection, and limits; inherited by secondmate homes under the primary-authoritative contract in secondmate-provisioning
config/t3code-token LOCAL, gitignored T3 Code mcp-client credential; docs/t3code-backend.md "Sign-in" owns minting, expiry, and secondmate linking
config/t3code-instances LOCAL, gitignored, inherited T3 provider-instance map; docs/t
常见问题
哪些文件只存在于本地?
一些文件,例如本地设置文件,保存在你的电脑上,不会被共享。
这项技能会修改我的文件吗?
不会。它只是用于查找和理解路径的参考。
主目录和项目有什么区别?
主目录保存 Firstmate 自身的设置和状态,而每个项目都有自己的文件。
详情
作者的原始描述
Load when locating, interpreting, or changing Firstmate home, config, data, state, project, or generated runtime paths.
repo: kunchenguid/firstmate
热度
- GitHub 星标
- 8.5k
- 排名
- #12438
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …