dharmamitra

Lookup Segment — Development skill for Claude Code

Development community

Fetch a single canonical passage by its DharmaMitra segmentnr (e.g. BO_K01_D0006:42b-3).

How to install Lookup Segment

Installs to ~/.claude/commands/dharmamitra-dharmamitra-claude-code-agent-lookup-segment.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dharmamitra/dharmamitra-claude-code-agent/HEAD/.claude/commands/lookup-segment.md -o ~/.claude/commands/dharmamitra-dharmamitra-claude-code-agent-lookup-segment.md

Restart Claude Code, or start a new session, for it to be picked up.

What Lookup Segment does


description: Fetch a single canonical passage by its DharmaMitra segmentnr (e.g. BO_K01_D0006:42b-3). argument-hint:

Segment: $ARGUMENTS

Call the **corpus-searcher** subagent with a direct lookup:

./scripts/primary-search.sh --trim <

Return the hit's title, text, summary, and `src_link` verbatim. Note: this returns the matched segment only, not adjacent context. If

Alternatives in Development

  • Cohort Analysis — Cohort retention curves, feature adoption, and segment insights 7.8k ★
  • Site Move — 改版、换域名、改 URL 结构前后对比:先存基线,改完对比出差异清单(漏 301、链式跳转、canonical 指旧址、hreflang 断簇) 663 ★
  • Maestro Ralph — Closed-loop policy over the canonical Session/Run chain 530 ★

Full documentation available on GitHub

View Source Repository