Codebase Management
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
OPTIONAL, DORMANT semantic-search layer over the wiki, powered by qmd (local hybrid BM25 + vector + rerank).
$ npx skills add HurricaHjz/second-yourself --skill qmd-search -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HurricaHjz/second-yourself qmd-search --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HurricaHjz/second-yourself.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/qmd-search .claude/skills/qmd-search && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "qmd-search" agent skill from https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-search into .claude/skills/qmd-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qmd-search", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-searchType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HurricaHjz/second-yourself --skill qmd-search -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HurricaHjz/second-yourself qmd-search --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HurricaHjz/second-yourself.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/qmd-search .agents/skills/qmd-search && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "qmd-search" agent skill from https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-search into .agents/skills/qmd-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qmd-search", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HurricaHjz/second-yourself --skill qmd-search -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HurricaHjz/second-yourself qmd-search --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HurricaHjz/second-yourself.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/qmd-search .cursor/skills/qmd-search && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "qmd-search" agent skill from https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-search into .cursor/skills/qmd-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qmd-search", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HurricaHjz/second-yourself.git --path .claude/skills/qmd-search--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HurricaHjz/second-yourself --skill qmd-search -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HurricaHjz/second-yourself qmd-search --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HurricaHjz/second-yourself.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/qmd-search .gemini/skills/qmd-search && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "qmd-search" agent skill from https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-search into .gemini/skills/qmd-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qmd-search", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HurricaHjz/second-yourself qmd-searchInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HurricaHjz/second-yourself --skill qmd-search -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HurricaHjz/second-yourself.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/qmd-search .github/skills/qmd-search && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "qmd-search" agent skill from https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-search into .github/skills/qmd-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qmd-search", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HurricaHjz/second-yourself --skill qmd-search -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HurricaHjz/second-yourself qmd-search --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HurricaHjz/second-yourself.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/qmd-search .opencode/skills/qmd-search && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "qmd-search" agent skill from https://github.com/HurricaHjz/second-yourself/tree/main/.claude/skills/qmd-search into .opencode/skills/qmd-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qmd-search", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
qmd-searchOPTIONAL, DORMANT semantic-search layer over the wiki, powered by qmd (local hybrid BM25 + vector + rerank).
Qmd Search is an agent skill from HurricaHjz/second-yourself. OPTIONAL, DORMANT semantic-search layer over the wiki, powered by qmd (local hybrid BM25 + vector + rerank). Use only when the wiki has outgrown index.md AND the user has installed + enabled qmd. The agent auto-detects qmd; if it is absent or disabled this skill does nothing and the normal index.md → grep search runs unchanged. Provides confidence-aware semantic retrieval as the query/output fallback, plus a refresh hook that updates a page's qmd embedding whenever it is created or changed. Retrieval only — never…
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Embeddings. It works with Model Context Protocol. The repository describes itself as: Second yourself. One agent that remembers you, with many hands to act for you: a multi-agent harness (Claude Code, with Codex helpers), a self-maintaining local wiki as its… The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 17c03f2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Qmd Search loads about 1.9k tokens when it runs. Until then it costs about 158 tokens; SKILL.md has 949 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HurricaHjz/second-yourself at commit 17c03f2, republished under its MIT licence (© HurricaHjz). 949 words, ~1,888 tokens.
.claude/skills/qmd-search/SKILL.md (or your agent's skills folder).A thin, dormant adapter to qmd. It does not replace index.md (the curated, read-first catalogue); it is the
semantic fallback query/output reach for when the catalogue under-covers a question, and the
refresh hook that keeps qmd's embeddings current as the wiki changes. qmd retrieves; the wiki governs
(compile, cross-link, confidence, conflicts).
Use qmd only if all three hold; otherwise fall through to the default search silently:
command -v qmd succeeds (qmd installed), ANDqmd status lists indexed collections), AND.qmd-off marker in the vault root — create that file to force qmd off without uninstalling; its absence means active (installing qmd + building an index is the opt-in).This is one cheap shell check. If any condition fails, do nothing: the agent uses index.md → grep
exactly as normal. A fresh clone or a non-adopter is unaffected, with no prompt to install anything.
qmd search is not a default step. Invoke it only when:
/qmd-search, "search semantically", "use qmd"), orindex.md + grep under-cover the question (it needs
semantic recall, or the corpus is too large to scan reliably).Otherwise answer from index.md → grep and do not call qmd — a qmd query reads passages into the
agent's context (real tokens), so it must earn that cost. This gates only the read side; the write
side — refreshing embeddings on every page change — always runs when qmd is active (local compute,
≈ no agent tokens).
qmd query "<question>" --json --files --min-score <t> -n <k> over the wiki collection. The CLI
inherits the shell environment, sidestepping the MCP-spawn HOME/db-path pitfall (qmd issue #615).qmd mcp --http --daemon);
set QMD_CONFIG_DIR / the db path explicitly so the server opens the real index.confidence
(down-rank low/very-low, lift high/authoritative) and break ties by newer updated
(supersession), per CLAUDE.md §4.6. Then deep-read the top pages and govern as usual.index.md is read first; qmd is the fallback / widener when the catalogue is
insufficient or the corpus is large. A qmd hit never bypasses the governing deep-read.Two signals refresh whenever wiki page(s) are created or updated:
confidence — (re)assign / confirm per CLAUDE.md §4.6 for every changed file. Always the
agent's job, never a hook's, and never gated on qmd.qmd update && qmd embed, once per write operation, never per file (incremental
per file, not per chunk: qmd keys embeddings on a file's whole-content hash, so an unchanged file
is skipped entirely and a changed one re-embeds all of its chunks — which is why wiki/log.md is
excluded from the collection, CLAUDE.md §10). A no-op when qmd is dormant.Enforcement — a turn-end hook, not an agent step. A prose-only refresh duty can be missed,
leaving the index stale while later sessions treat it as current. So where
the harness supports it, the refresh belongs in a Stop hook — the harness runs it once per turn, so
no agent can forget it, and it costs zero agent tokens. The agent then does NOT run the qmd commands
inline; it still owns step 1. This is not a daemon, cron job, launchd job or file-watcher: the hook is a
one-shot that runs and exits, nothing stays resident, and nothing runs while the vault is idle.
The live hook is in this vault's .claude/settings.json (vault-local; it is not part of the shipped
framework, so an adopter installs their own). Shape, with the guards that matter:
command -v qmd >/dev/null 2>&1 || exit 0 # qmd absent -> silent no-op
[ -e "$D/.qmd-off" ] && exit 0 # forced off -> silent no-op
[ -e "$S" ] && [ -z "$(find "$D/wiki" "$D/raw" -newer "$S" -print -quit)" ] && exit 0 # nothing changed
mkdir "$L" 2>/dev/null || exit 0 # another refresh in flight
qmd update >/dev/null 2>&1 && qmd embed >/dev/null 2>&1 && mv -f "$S.new" "$S"qmd update output. find -newer against a stamp file
tests the underlying state and supports the controls for
no-change / modify / create / delete / missing-stamp. Directory mtimes make deletions visible too.$S.new → $S), so a file changed mid-refresh is
caught next turn rather than skipped.Where no such hook exists (another harness, hooks disabled), the fallback is the original inline rule:
the agent runs qmd update && qmd embed itself as the last action of a write operation — ingest,
query after filing a synthesis, deep-lint, or any other write path. deep-lint's own refresh remains
the periodic backstop either way.
Any qmd call that errors, times out, or returns nonzero → fall back silently to index.md → grep
and carry on. The vault never depends on qmd; it only accelerates with it.
confidence or
conflicts — those stay with ingest/query/deep-lint.qmd search/vsearch/query/update/embed) that runs and exits. The
agent MUST NOT start the MCP daemon (qmd mcp …) or any long-running/watching qmd process; that is a
manual, user-only opt-in. Nothing qmd-related stays resident, and nothing runs while the vault is idle.index.md is read before qmd; qmd is the semantic fallback/widener, not a replacement.~/.config/qmd and ~/.cache/qmd; a
project-local index (.qmd/, *.sqlite) is git-ignored.© HurricaHjz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/qmd-search of HurricaHjz/second-yourself.
Open the folder on GitHubat commit 17c03f2
Qmd Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Qmd Search this skillHurricaHjz/second-yourself | 123 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Codebase Managementgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.8k | Automated safety check: Pass | AGPL-3.0 | |
| KtxKaelio/ktx | 1.6k | — | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Sandbaseiflytek/skillhub | 5.2k | 1 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Kit SDKmark3labs/kit | 141 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Pgvector Semantic Searchtimescale/pg-aiguide | 1.9k | — | ~3.8k | Automated safety check: Pass | Apache-2.0 |
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
Kaelio/ktx
Installs and configures ktx, the open-source context layer for data agents — runs ktx setup non-interactively with hidden CLI flags, configures database connections and embeddings, installs agent…
iflytek/skillhub
Access 2,000+ AI models and API tools through one MCP interface for inference, media generation, search, scraping, embeddings, social data, and structured retrieval.
mark3labs/kit
Guide for building Go applications with the Kit SDK. An agent skill from mark3labs/kit.
timescale/pg-aiguide
A skill your agent uses for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search.
harperreed/dotfiles
Semantic memory and context - store and retrieve information with embeddings for similarity search.
HurricaHjz/second-yourself
Answer questions against the local Obsidian wiki — not from model memory.
HurricaHjz/second-yourself
Sync THIS LLM-Wiki framework with its public GitHub repo, ONE direction per run: --push (vault → repo) publishes your framework; --pull (repo → vault) updates your framework from a newer repo version.
HurricaHjz/second-yourself
Health-check the Obsidian wiki — the "static analysis" pass for a knowledge base.
HurricaHjz/second-yourself
The compile lane's half of the ingest skill: choose a source's depth after reading it, write the source page from the depth's template, assign confidence, network the knowledge, and propose the…
HurricaHjz/second-yourself
The read-only half of the lint skill for a headless lane: index consistency, link and orphan health, the pending-flag count, the attic, qmd-registry, injection, customisation-pairing and…
HurricaHjz/second-yourself
Produce a user-facing DELIVERABLE (report, brief, literature review, slide deck, table, email, outline, …) into the output/ directory — grounded in the wiki and strictly following the user's…
Works with
Categories
OPTIONAL, DORMANT semantic-search layer over the wiki, powered by qmd (local hybrid BM25 + vector + rerank). Qmd Search is an agent skill from HurricaHjz/second-yourself. OPTIONAL, DORMANT semantic-search layer over the wiki, powered by qmd (local hybrid BM25 + vector + rerank).
Qmd Search fits situations like: tasks that involve Embeddings.
Run `npx skills add HurricaHjz/second-yourself --skill qmd-search -a claude-code`. Or copy the skill folder (.claude/skills/qmd-search in HurricaHjz/second-yourself) into .claude/skills/qmd-search in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HurricaHjz/second-yourself --skill qmd-search -a codex`. Or copy the skill folder (.claude/skills/qmd-search in HurricaHjz/second-yourself) into .agents/skills/qmd-search in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HurricaHjz/second-yourself --skill qmd-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qmd-search, .gemini/skills/qmd-search, .github/skills/qmd-search and .opencode/skills/qmd-search in your project.
SKILL.md names no scripts, command-line tools or credentials: Qmd Search is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Qmd Search is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Qmd Search: Codebase Management (giancarloerra/SocratiCode, 3.3k stars), Ktx (Kaelio/ktx, 1.6k stars), Sandbase (iflytek/skillhub, 5.2k stars) and Kit SDK (mark3labs/kit, 141 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HurricaHjz (a GitHub user) maintains it in HurricaHjz/second-yourself, which has 123 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 1, 2026.
Source: HurricaHjz/second-yourself on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.