一键导入
project-ontology-bootstrap
Bootstrap an adaptive project knowledge tree. Use when agent-knowledge/Memory/MEMORY.md is missing, broken, or too generic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bootstrap an adaptive project knowledge tree. Use when agent-knowledge/Memory/MEMORY.md is missing, broken, or too generic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
The exact naming and structure convention for memory branch notes. Use when creating, naming, or reorganizing notes in Memory/, or when checking whether a note follows the convention.
Import web content cleanly into Evidence/imports/ with clutter removed. Use when importing a URL or HTML file as evidence for the project.
Handle imported and extracted material correctly. Use when placing content in Evidence/, importing web pages or docs, recording captures, or deciding what is and isn't canonical.
Write memory notes that are pleasant in Obsidian without requiring Obsidian. Optional enhancement skill. Use when the user has Obsidian open alongside their agent workflow and wants better vault navigation.
Infer a project's natural ontology from the actual repo. Use when determining what memory branches to create, how to name them, and how to decompose the project into focused domains.
Write high-quality, stable memory notes. Use when creating or updating notes in agent-knowledge/Memory/ and you want specific guidance on format, quality, and what to include.
| name | project-ontology-bootstrap |
| description | Bootstrap an adaptive project knowledge tree. Use when agent-knowledge/Memory/MEMORY.md is missing, broken, or too generic. |
Creates a minimal knowledge scaffold, then the agent infers the ontology from the real project. Run this once -- then maintain with the writeback rule.
agent-knowledge/Memory/MEMORY.md does not exist or is emptyMemory/MEMORY.md exists but is still generic bootstrap contentThe project entrypoint is ./agent-knowledge.
./agent-knowledge must be a symlink or junction to the real dedicated knowledge folder./agent-knowledge as the local handleIf the pointer does not exist yet, create it first with:
scripts/install-project-links.sh --slug <project-slug> --repo /path/to/project
scripts/bootstrap-memory-tree.sh /path/to/project
This creates a minimal scaffold:
agent-knowledge/
Memory/
MEMORY.md <- root durable memory note
decisions/
decisions.md <- decision log (same-name convention)
Evidence/
raw/
imports/
Sessions/
Outputs/
Dashboards/
Templates/
.obsidian/
STATUS.md
The script detects a profile hint (web-app, robotics, ml-platform, or hybrid) and stores it in STATUS.md. The hint does NOT create branch notes -- that is the agent's job.
After the scaffold exists, inspect:
From these signals, determine the project's natural decomposition. Use the project's own terminology, not generic template names.
Create one branch per functional domain in the project. Use the same-name convention:
Memory/<topic>.mdMemory/<topic>/<topic>.mdEach branch note must stay under ~150 lines. If a topic is too big for one note, split it into a folder with subtopic notes.
Do NOT put the whole system description in a single file. Split by functional domain.
Example for a robotics project:
Memory/
MEMORY.md
stack.md # build system, deps, hardware platform
perception/
perception.md # vision pipeline overview
object-detection.md # YOLO, TensorRT, tracking
lane-detection.md # lane following
navigation/
navigation.md # path planning, row driving
path-following.md # pure pursuit, drive controller
localization/
localization.md # EKF, IMU, GNSS, LiDAR odometry
cloud-interface.md # STOMP, fleet management
vehicle-interface.md # CAN, LLC, hardware abstraction
safety.md # obstacle detection, fault monitoring
decisions/
decisions.md
Rules:
See [localization](localization/localization.md) for sensor fusion)For each branch you create, seed it with verified facts:
Add links to each branch note in the Branches section:
## Branches
- [Stack](stack.md) -- Python 3.10, ROS2 Humble, colcon build system
- [Perception](perception/perception.md) -- Camera pipeline, YOLO detection, depth fusion
- [Navigation](navigation/navigation.md) -- Nav2 stack, custom costmap layers
Bootstrap creates structure only. To fill it with real project history:
scripts/import-agent-history.sh /path/to/project
Then follow the history-backfill skill to distill evidence into memory.
After bootstrap, verify:
agent-knowledge/Memory/MEMORY.md exists and uses YAML frontmatteragent-knowledge/Memory/decisions/decisions.md existsagent-knowledge/Evidence/raw/ and agent-knowledge/Evidence/imports/ existagent-knowledge/Sessions/ existsMemory/MEMORY.md is still short enough to scan quickly