HyperHierarchicalRAG copilot-instructions.md

HyperHierarchicalRAG copilot-instructions.md is an instructions file for GitHub Copilot from u9401066/HyperHierarchicalRAG. It costs 848 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for HyperHierarchicalRAG, a research system connected to Zotero, a reference manager, and PubMed, a medical-literature database.

In plain words
What is it for?
Use them to search medical literature, build queries from clinical questions, retrieve articles, check ownership, and import selected papers into Zotero.
Why use it?
They define the required research and import process, including checking for duplicates and choosing a Zotero collection before importing papers.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/u9401066/hyperhierarchicalrag/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/u9401066/HyperHierarchicalRAG

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for HyperHierarchicalRAG copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/u9401066/hyperhierarchicalrag/copilot-instructions.svg)](https://agentmods.dev/instructions/u9401066/hyperhierarchicalrag/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/u9401066/hyperhierarchicalrag/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/u9401066/hyperhierarchicalrag/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 848 This file is loaded in full into every session.
When invoked 848 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00848 $0.00848
Opus 5 $0.00424 $0.00424
Sonnet 5 $0.00170 $0.00170
Haiku 4.5 $0.00085 $0.00085

Measured 3d ago against content hash 12d9ca2cbfa1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

HyperHierarchicalRAG copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 82 lines

What it actually says

Copilot Instructions for Zotero + PubMed MCP

Auto-generated by Zotero + PubMed MCP Extension 此檔案由 Extension 自動創建,幫助 Copilot 更好地使用研究工具

可用的 MCP Servers

1. Zotero Keeper

管理 Zotero 書目庫的工具,包括:

  • 文獻搜尋與瀏覽
  • PubMed 文獻匯入
  • Collection 管理
  • 書庫分析

2. PubMed Search

搜尋醫學文獻的工具,包括:

  • 文獻搜尋(支援 PICO 策略)
  • 引用分析
  • 全文連結取得
  • Session 管理

核心工作流程

🔍 搜尋新文獻

  1. 使用 parse_pico 分析研究問題
  2. 使用 generate_search_queries 產生搜尋策略
  3. 使用 search_literature 搜尋 PubMed
  4. 結果自動快取,用 get_session_pmids 取回

📥 匯入到 Zotero

重要: 匯入前必須詢問用戶要存入哪個 Collection!

  1. 使用 list_collections 取得 Collection 列表
  2. 詢問用戶選擇 Collection
  3. 使用 quick_import_pmidsbatch_import_from_pubmed 匯入

🔄 避免重複

  • 使用 check_articles_owned 檢查 PMID 是否已存在
  • 使用 search_pubmed_exclude_owned 直接搜尋未擁有的文獻
  • 使用 get_cached_article 取得快取的文章(避免重複 API 呼叫)

回應風格

  • 使用繁體中文
  • 清楚說明每個步驟
  • 匯入前確認用戶意圖

VS Code Copilot Agent 指引 (整合自 AGENTS.md)

此部分為 VS Code GitHub Copilot 的 Agent Mode 提供專案上下文。

專案規則

法規遵循

你必須遵守以下法規層級:

  1. 憲法CONSTITUTION.md - 最高原則,不可違反
  2. 子法.github/bylaws/*.md - 細則規範
  3. 技能.claude/skills/*/SKILL.md - 操作程序

架構與環境原則

  • DDD 架構:DAL 必須獨立,依賴方向:Presentation → Application → Domain ← Infrastructure
  • Python (uv 優先):優先使用 uv 管理環境,禁止全域安裝。
  • Memory Bank:重要操作後必須更新同步檔案(progress.md, activeContext.md 等)。
  • Git 工作流:提交前執行檢查清單(同步記憶、更新 README/CHANGELOG 等)。

可用 Skills (.claude/skills/)

包含 git-precommit, ddd-architect, code-refactor, memory-updater, test-generator 等 13 個自動化開發技能。

💸 Memory Checkpoint 規則

為避免 Context 遺失,於以下時機執行「checkpoint」:

  1. 對話超過 10 輪
  2. 修改超過 5 個檔案
  3. 完成重要功能
  4. 使用者暫時離開

必記:當前焦點、變更列表、待辦事項、下一步計畫。

代理回應風格

  • 使用繁體中文,提供清晰步驟說明。
  • 引用相關法規條文,執行操作後更新 Memory Bank。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 82 lines · 848 tokens per session scan A 12d9ca2cbfa1

Subscribe to this mod's changes

HyperHierarchicalRAG copilot-instructions.md is an instructions file published in the GitHub repository u9401066/HyperHierarchicalRAG (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 848 tokens to every session, about $0.0042 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

repo-graphrag-mcp AGENTS.md

Instructions for yumeiriowl/repo-graphrag-mcp, covering repo graphrag mcp usage guide, prerequisites, three tools, tool 1: graphcreate and tool 2: graphquery.

yumeiriowl/repo-graphrag-mcp · 1,315 tokens

edgequake AGENTS.md

AGENTS.md instructions for raphaelmansuy/edgequake, covering repository guidelines, project structure & module organization, build, test, and development commands, quick start with make and start with ollama (default).

raphaelmansuy/edgequake · 9,845 tokens

VelociRAG AGENTS.md

Instructions for HaseebKhalid1507/VelociRAG, covering agents.md — velocirag for ai coding agents, what is this?, architecture, module map and key classes.

HaseebKhalid1507/VelociRAG · 2,908 tokens

myrmion-graphrag CLAUDE.md

Claude Code instructions for e2its/myrmion-graphrag, covering claude.md, qué es esto, herramientas del servidor myrmion-graphrag (documentos), herramientas del servidor myrmion-codebase (código) and mantenimiento obligatorio del codebaseinventory.

e2its/myrmion-graphrag · 1,198 tokens

llm-wiki-agent GEMINI.md

Gemini CLI instructions for SamurAIGPT/llm-wiki-agent, covering llm wiki agent — schema & workflow instructions, how to use, directory layout, page format and ingest workflow.

SamurAIGPT/llm-wiki-agent · 1,590 tokens

remnic AGENTS.md

AGENTS.md instructions for joshuaswarren/remnic, covering remnic - agent guide, architecture boundaries (non-negotiable), upstream references, adapter implementation rules and openclaw compatibility window.

joshuaswarren/remnic · 31,441 tokens