Lookup Segment — Development skill for Claude Code
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
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 RepositoryRelated Skills
Find Parallels
Search the canonical Buddhist corpus (Kangyur / Tengyur / Taishō / Pali Nikāyas / Sanskrit critical editions)
B2b Count
Count a B2B segment for free before buying a single row. How many people match titles, seniority, countries, c
Architecture Claude Md Agents Md Single Source Ecosystem Migration
How to consolidate CLAUDE.md into canonical AGENTS.md without leaving policy consumers, templates, guards, tes
Factory Supervisor
Autonomous campaign Supervisor loop (Phase 2, Unit 13). One pass per tick, launchd-restarted, headless claude
Critical Edition
Run a full philological pass on a passage — retrieve cross-language parallels, compare witnesses, surface vari
Add Comment
add_comment tool — attach a comment to a passage in the PDF
Related Agents
Philologist
Use when the user wants critical-edition / philological work on a canonical Buddhist passage — finding variant
Docs Lookup
When the user asks how to use a library, framework, or API or needs up-to-date code examples, use Context7 MCP
Docs Lookup.Agent
When the user asks how to use a library, framework, or API or needs up-to-date code examples, use Context7 MCP