agentleFS
tboome33tboome33/obsidian-mcp-router/skills/write-append/SKILL.md

write-append

Skill1 starsChanged 7 months agoApache-2.0View on GitHub

Append content at the end of a file. Auto-creates the file unless requireExisting=true. Best for daily journals, logs, running captures.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Call the obsidian-router append_to_file MCP tool with arguments parsed from $ARGUMENTS.

    line 16
  2. Distinctive:

    if the slash line has only a path, ask the user for the content to append

    line 30
  3. Very specific:

    If the call fails, do NOT silently redo it with direct-filesystem tools (Read/Edit/Write on the vault's real path):

    line 41
  4. Very specific:

    After the append, report vault, path, bytesAppended.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

write-append

Call the obsidian-router append_to_file MCP tool with arguments parsed from $ARGUMENTS.

Arguments

Required:

  • path — file path relative to vault root.
  • content — markdown to append.

Optional:

  • vault — vault name. Omit for default.
  • requireExisting — if true, fail when the file does not exist. Default false (auto-create).

Argument parsing from $ARGUMENTS

  • if the slash line has only a path, ask the user for the content to append
  • path=X content="..." for one-shot
  • --require-existing or requireExisting=true → set the flag

Use cases

  • Daily journals, logs, running notes, captures
  • For surgical edits under a specific heading or block, prefer write-patch instead

On failure — remediate, NEVER fall back to filesystem writes

If the call fails, do NOT silently redo it with direct-filesystem tools (Read/Edit/Write on the vault's real path):

  • Connection error (ECONNREFUSED, timeout) → vault closed; list_vaults, then ask the user to open it via the openUri link and wait.
  • Validation / API error (HTTP 4xx) → fix the arguments, or use a coarser router tool (write_file).

Rationale + message template: the default-vault-health-check convention (canonical source).

Output

After the append, report vault, path, bytesAppended.

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.