From hipocampo
Vendor the hipocampo validation scripts, git hooks, and CI workflow into the current repo so the doc-sync gate and preflight run locally and in CI. Use after brain-init, or when the user says "vendor the scripts", "set up the hooks/CI", "brain-scripts-init".
How this skill is triggered — by the user, by Claude, or both
Slash command
/hipocampo:brain-scripts-initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Make the kit's machinery run in this repo, independent of how the plugin was
Make the kit's machinery run in this repo, independent of how the plugin was installed (hooks/CI need the package importable at the repo root).
AskUserQuestion round; in Codex/Gemini
just ask in plain text — those agents lack AskUserQuestion). 4 questions,
then act — no more asking:
brain-router-init) get installed. Skills themselves are read natively by
all three (npx skills add, or copy plugin/skills/** into .agents/skills/
for Codex / .gemini/skills/ for Gemini) — no wrappers.[enforcement] in brain.config.toml. Offer three presets and recommend
"advisory-local" (you're never stuck mid-task, but drift still can't merge):
pre_commit/pre_push/ci = "block" (blocks commit + push + CI).pre_commit/pre_push = "warn",
ci = "block" (local just surfaces findings; CI is the backstop).pre_commit/pre_push = "off", ci = "block".
Explain block = fail, warn = print but don't block, off = skip; and that CI
stays strict so the gate still bites at merge time.ci enforcement value is moot until added).claude/settings.json autoMemoryEnabled/
autoMemoryDirectory; Gemini Auto Memory is preview; Codex has none). Also
set hipocampo's own [capture.auto] mode here — recommend "draft"
for new setups (the session-end sweep stages candidates in the disposable
.brain-cache/ for /capture --review, so nothing reaches the vault without
approval); "inbox" is the legacy default; "off" disables the sweep.${CLAUDE_PLUGIN_ROOT}/hipocampo/ to the repo root
as hipocampo/ (exclude tests/). Get the version from
${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json (version field) and the
source commit from git -C ${CLAUDE_PLUGIN_ROOT} rev-parse --short HEAD. Write
hipocampo/.hipocampo-manifest.json:
{"version": "<version>", "source_commit": "<short-sha>", "vendored_at": "<YYYY-MM-DD>"}
(the manifest is what brain-update reads to diff against the kit). Adding a
per-file managed header is optional and not required for brain-update.
Also create or append the repo-root .gitignore from
${CLAUDE_PLUGIN_ROOT}/templates/gitignore so the derived cache
(.brain-cache/) and __pycache__//*.pyc are never committed — the cache is
disposable and would otherwise churn on every search.${CLAUDE_PLUGIN_ROOT}/templates/githooks/
(pre-commit, pre-push) into .githooks/, make them executable, and set
git config core.hooksPath .githooks.${CLAUDE_PLUGIN_ROOT}/templates/ci/agent-docs.yml to
.github/workflows/agent-docs.yml, and edit its branches: [main] to match
the repo's actual base branch (base_branch in brain.config.toml) —
otherwise push-mode CI never triggers.python3 -m hipocampo.preflight and report the result. A
repo with no [[doc_sync]] rules yet passes cleanly.hipocampo.hooks.* modules, only the
wiring differs). Install from ${CLAUDE_PLUGIN_ROOT}/templates/hooks/ for each
selected agent:
plugin/hooks/hooks.json);
nothing to vendor.templates/hooks/codex/hooks.json to .codex/hooks.json
(or ~/.codex/hooks.json for reliability), and tell the user to run /hooks
once to trust it. Note: Codex hooks are experimental.hooks object from
templates/hooks/gemini/settings.hooks.json into .gemini/settings.json
(don't clobber existing keys).[enforcement] preset (from step 0) into
brain.config.toml (omit the block to keep the all-block default)..claude/settings.json; Gemini if available; Codex skip with a note),
and write the chosen [capture.auto] mode into brain.config.toml
(omit the block to keep the legacy "inbox" default).python3 -m pip install model2vec sqlite-vec (the vendored package itself
isn't on PyPI, so install the deps directly; numpy comes transitively).[semantic] enabled = true in brain.config.toml (keep model/dim
defaults unless asked).python3 -m hipocampo.semantic — it prints whether deps import
and enable_load_extension works. If extension loading is off in this
Python (some macOS system Pythons / minimal images), say so: the tier will
silently fall back to BM25 there until they use an extension-capable Python.
If no, leave enabled = false (the default) — search stays pure BM25, zero
install. The choice is fully reversible (flip the flag + install later).[[doc_sync]] block in brain.config.toml).git commit --no-verify to bypass the doc-sync gate is off-limits without
explicit owner authorization per commit.npx claudepluginhub ferraz2000/hipocampo-memory --plugin hipocampoProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.