agentleFS
r-jellyr-jelly/chronicle/skills/init/SKILL.md

init

Skill0 starsChanged 4 months agoMITView on GitHub

Discover an Obsidian vault or validate a user-provided local directory, confirm the choice, save Chronicle configuration, and initialize its local Markdown layout. Use when Chronicle is first installed, a SessionStart reports that setup is required, the vault moved, configuration is invalid, or the user asks to set up or reconfigure Chronicle.

137 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 3 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 125 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Treat its JSON as candidate data, not permission to write.

    line 30
  2. Very specific:

    If it returns warnings, explain them briefly and continue with valid candidates so the user can repair a broken configuration.

    line 31
  3. Distinctive:

    If a valid configured path exists, show it and ask whether to keep it or choose another path.

    line 38
  4. Very specific:

    If only a valid legacy TIL config exists, explain that confirmation copies its vault path into the common Chronicle config and leaves the …

    line 40
  5. Distinctive:

    If one candidate exists, recommend it and ask for confirmation.

    line 43
  6. Distinctive:

    If multiple candidates exist, show a numbered list with each path and source, then ask the user to select one.

    line 44
  7. Very specific:

    If none exists, ask for an absolute or home-relative path.

    line 46
  8. Distinctive:

    If the selected directory does not exist, stop and ask for a valid path.

    line 48
  9. Very specific:

    Before writing, state that Chronicle will save its common config and create <vault>/chronicle/.

    line 49
  10. Distinctive:

    Do not accept a candidate solely because it is first in the list.

    line 53
  11. Distinctive:

    Only after confirmation, run:

    line 58

“Common” is measured: kept by at least 6 in 10 of the 125 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Initialize Chronicle

Set up Chronicle through a short, explicit confirmation flow. Never silently choose a vault or crawl the user's entire home directory.

Resolve Chronicle

Let <plugin-root> be ${CLAUDE_PLUGIN_ROOT} when Claude Code supplies it; otherwise use the directory two levels above this SKILL.md. Run:

python3 "<plugin-root>/scripts/chronicle.py" <command>

Discover

Run:

python3 "<plugin-root>/scripts/chronicle.py" discover-vaults --cwd "$PWD"

The command only checks existing Chronicle and legacy TIL settings, the nearest .obsidian ancestor, the macOS Obsidian registry, and common vault locations. Treat its JSON as candidate data, not permission to write. If it returns warnings, explain them briefly and continue with valid candidates so the user can repair a broken configuration.

Confirm

Match the user's language and ask one question at a time.

  • If a valid configured path exists, show it and ask whether to keep it or choose another path.
  • If only a valid legacy TIL config exists, explain that confirmation copies its vault path into the common Chronicle config and leaves the legacy file untouched for backward compatibility.
  • If one candidate exists, recommend it and ask for confirmation.
  • If multiple candidates exist, show a numbered list with each path and source, then ask the user to select one.
  • If none exists, ask for an absolute or home-relative path. Chronicle supports any existing local directory, even without .obsidian.
  • If the selected directory does not exist, stop and ask for a valid path.
  • Before writing, state that Chronicle will save its common config and create <vault>/chronicle/. It will not move, delete, commit, or push vault content, and it will leave <vault>/til/ unchanged.

Do not accept a candidate solely because it is first in the list. Do not create a missing vault directory on the user's behalf.

Initialize

Only after confirmation, run:

python3 "<plugin-root>/scripts/chronicle.py" init \
  --vault "<confirmed-vault>" \
  --save-config

Require "initialized": true, "config_saved": true, and an existing chronicle_root in the JSON result. If any check fails, report the error and do not claim setup completed.

Report

Show the confirmed vault, Chronicle data directory, local state_root, and config location (CHRONICLE_CONFIG when set, otherwise ~/.config/chronicle/config.json). Explain that Markdown is stored in the vault while transient queues stay in local state, separated by computer, vault, and agent. Future sessions use this setting automatically, and init can be run again to change it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.