GhostPaw Grimoire

v0.7.4
io.github.GhostPawJS/grimoire Checked 5 days ago Published 18 days ago

Local procedural knowledge with spells, notes, and revision history.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_grimoire

Search spell names, descriptions, and bodies.

ParameterTypeDescription
query *stringSearch query
chaptersarray

review_grimoire

Review check (resonance and saved catalogue), chapters, health, resonance, notes, drafts, validation, provenance, or index.

ParameterTypeDescription
view *string
formatstring
limitintegerMaximum results to return
nowintegerTimestamp override
strictbooleanReject invalid YAML and unknown frontmatter.

inspect_grimoire_item

Inspect spell content, tier, resonance, validation, provenance, and history.

ParameterTypeDescription
path *stringSpell path
strictbooleanReject invalid YAML and unknown frontmatter.

inscribe_spell

Create a spell from SKILL.md content (YAML frontmatter and Markdown).

ParameterTypeDescription
content *stringSpell body content in markdown
name *stringSpell name
chapterstringChapter name
forcebooleanOverwrite the target spell.
strictbooleanReject invalid YAML and unknown frontmatter.
verbosebooleanInclude full spell.

update_spell

Write new content to an existing spell, leaving the change uncommitted.

ParameterTypeDescription
path *stringSpell path
appendSectionobject
contentstringFull SKILL.md
replacearray
strictbooleanReject invalid YAML and unknown frontmatter.
verbosebooleanInclude full spell.

hone_spell

Seal pending spell changes into a git commit, advancing spell ranks.

ParameterTypeDescription
messagestringCommit message
noteIdsarray
note_idsarray
pathsarray
verbosebooleanInclude full spells.

manage_spell

Archive, restore, move, delete, repair, or roll back spells.

ParameterTypeDescription
action *string
forcebooleanOverwrite the target spell.
pathstringRequired except repair_all.
refstringRequired rollback hash; find via inspect_grimoire_item.
targetstringRequired move target.
verbosebooleanInclude full spell if available.

drop_note

Record an observation for later cataloguing.

ParameterTypeDescription
content *stringNote content
source *stringSource identifier
domainstringTopic domain

manage_draft

Submit, approve, or dismiss spell drafts.

ParameterTypeDescription
action *string
chapterstringChapter for the potential spell — required for submit.
draftIdintegerDraft ID — required for approve and dismiss.
noteIdsarray
note_idsarray
rationalestringRequired submission rationale.
titlestringDraft title — required for submit.

run_catalogue

Maintain health, route notes, cluster orphans, and score honing pressure.

ParameterTypeDescription
nowintegerTimestamp override (ms)

scout_skills

Scout, search, adopt, and update spells from external sources.

ParameterTypeDescription
action *string
chapterstringAdoption chapter.
pathstringSpell path — required for apply_update.
querystringSearch query — required for search.
sourcestringRequired adopt source.
strictbooleanReject invalid YAML and unknown frontmatter during import or update.