manage-move
Skill1 starsChanged 7 months agoApache-2.0View on GitHub
Move or rename a file. The router does GET source → PUT destination → DELETE source (Local REST API has no native move). Reports if the source-delete step fails so you can clean up.
In this repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- auto-modeSkill
- autoresearchSkill
- bind-workspaceSkill
- build-search-indexSkill
- canvasSkill
- conventionsSkill
- decision-consolidateSkill
- defuddleSkill
- discover-list-filesSkill
- discover-list-vaultsSkill
- force-new-port-startSkill
- hot-compactSkill
- lockSkill
- manage-deleteSkill
- meta-attach-vaultSkill
- meta-audit-bridge-readinessSkill
- meta-setupSkill
- meta-statusSkill
- meta-sync-templateSkill
- obsidian-basesSkill
- obsidian-markdownSkill
- read-frontmatterSkill
- read-getSkill
- read-searchSkill
- read-search-smartSkill
- saveSkill
- sync-from-githubSkill
- template-executeSkill
- unlockSkill
- who-is-speakingSkill
- wiki-boundarySkill
- wiki-exportSkill
- wiki-foldSkill
- wiki-graphSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-neighborsSkill
- wiki-pathSkill
- wiki-querySkill
- wiki-refresh-digestsSkill
- wikiSkill
- wiki-tourSkill
- write-appendSkill
- write-bundleSkill
- write-create-or-replaceSkill
- write-frontmatter-mergeSkill
- write-frontmatter-setSkill
- write-patchSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Call the obsidian-router move_file MCP tool with arguments parsed from $ARGUMENTS.
- Very specific: line 40
If the DELETE step fails after the PUT, the file is duplicated.
- Very specific: line 44
If the call fails, do NOT silently redo the move with shell mv / FS tools on the vault's real path:
- Very specific: line 52
After the move, report from, to, overwrite, moved, sourceDeleted (and any warning).
≈ “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.
Files
manage-move
Call the obsidian-router move_file MCP tool with arguments parsed from $ARGUMENTS.
Arguments
Required:
from— source path relative to vault root.to— destination path relative to vault root.
Optional:
vault— omit for default.overwrite— if true, replace an existing destination. Default false (refuses).ifMatch— acontentSha256from a priorget_fileof the SOURCE. Refuses the move with a 409 conflict if the source changed since you read it.
Argument parsing from $ARGUMENTS
<from> <to>— most natural form, two paths separated by spacefrom=X to=Y--overwriteoroverwrite=true→ set the flagifMatch=<hash>→ setifMatch(checked against the source)
Implementation note — partial-failure mode
The Local REST API plugin has no native move endpoint. The router falls back to GET source → PUT destination → DELETE source.
If the DELETE step fails after the PUT, the file is duplicated. The tool returns sourceDeleted: false and a warning field — surface this clearly so the user can clean up manually if needed.
On failure — remediate, NEVER fall back to filesystem operations
If the call fails, do NOT silently redo the move with shell mv / FS tools on the vault's real path:
- Connection error (
ECONNREFUSED, timeout) → vault closed;list_vaults, then ask the user to open it via theopenUrilink and wait. - Validation / API error (e.g. destination exists without
overwrite) → resolve with the user or adjust the arguments — still through the router.
Rationale + message template: the default-vault-health-check convention (canonical source).
Output
After the move, report from, to, overwrite, moved, sourceDeleted (and any warning).
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
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.

