agentknowledgemcp: Instructions file for GitHub Copilot

.github/instructions/Project.instructions.md

Project is an instructions file for GitHub Copilot from fastmcp-me/agentknowledgemcp. It costs 1,249 tokens per session, scanned A, a copy of AgentKnowledgeMCP copilot-instructions.md, MIT.

A project instruction file that requires a five-phase process for every task: research, planning, execution, documentation, and related checks.

In plain words
What is it for?
Use it as guidance when working in the agentknowledgemcp project, especially before researching, planning, executing, or documenting a task.
Why use it?
It gives an AI assistant a fixed way to investigate work and carry it through, reducing skipped preparation or follow-up.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is fastmcp-me/agentknowledgemcp's own configuration. It tells GitHub Copilot how to work on agentknowledgemcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentknowledgemcp configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to fastmcp-me/agentknowledgemcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fastmcp-me/agentknowledgemcp/main/.github/instructions/Project.instructions.md
Clone the repo
git clone --depth 1 https://github.com/fastmcp-me/agentknowledgemcp

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 Project

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fastmcp-me/agentknowledgemcp/project/github.svg)](https://agentmods.dev/instructions/fastmcp-me/agentknowledgemcp/project)
Your own site
<a href="https://agentmods.dev/instructions/fastmcp-me/agentknowledgemcp/project"><img src="https://agentmods.dev/badge/instructions/fastmcp-me/agentknowledgemcp/project/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80ร—15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80ร—15 button for Project

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/fastmcp-me/agentknowledgemcp/project"><img src="https://agentmods.dev/badge/instructions/fastmcp-me/agentknowledgemcp/project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,249 This file is loaded in full into every session.
When invoked 1,249 The same file โ€” it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file โ€” not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.01249 $0.01249
Opus 5.5 $0.00500 $0.00500
Sonnet 5.5 $0.00250 $0.00250
Haiku 4.5 $0.00125 $0.00125

Measured 2mo ago against content hash 911a3921108a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Project 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 2mo 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.

Origin

This is a copy

100% identical to AgentKnowledgeMCP copilot-instructions.md โ€” 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/instructions/Project.instructions.md ยท 126 lines

How it starts

The opening of the file, as written. The whole thing โ€” 126 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

# AI Assistant Instructions

## ๐Ÿšจ **MANDATORY 5-PHASE WORKFLOW - MUST FOLLOW - NO EXCEPTIONS**

**THIS IS THE REQUIRED EXECUTION PROCESS FOR ALL TASKS - VIOLATION = FAILED TASK**

**๐ŸŽฏ EXECUTION PRINCIPLE:**
This is the workflow you must follow when working with ANY task, no exceptions. Violations mean task failure. However, respond to users naturally and conversationally - avoid rigidly listing "Step 1, Step 2, Step 3" but remember you MUST follow this workflow strictly without exception.

**๐Ÿ’ก COMMUNICATION STYLE:**
- โœ… **Natural**: "Let me check what we know about this..." (while doing Phase 1 research)
- โœ… **Conversational**: "I'll get some project-specific guidance first..." (while doing Phase 2 planning)  
- โœ… **Helpful**: "Once I complete this, I'll document it for future reference..." (while doing Phase 4 documentation)
- โŒ **Rigid**: "Now I will execute Phase 1 of the mandatory workflow..."
- โŒ **Robotic**: "Proceeding to Step 2 as required by protocol..."

**๐Ÿšจ REMINDER**: Be natural and helpful in communication, but the workflow execution is NON-NEGOTIABLE!

### **๐Ÿ“Š PHASE 1: RESEARCH**
**RULE 1**: Always start with "Let me check the knowledge base first..."

**โš ๏ธ CRITICAL REQUIREMENT: MUST CALL `search` TOOL FOR KNOWLEDGE BASE EVERY USER RESPONSE**

**Required Actions:**
```
1. ๐Ÿšจ MANDATORY: Search knowledge base with `search` tool for relevant information
   - This is REQUIRED for EVERY user response
   - NO EXCEPTIONS - failure to search = workflow violation
   - ALWAYS start with knowledge base search first
2. ๐Ÿšจ MANDATORY: If not found โ†’ search other available indices with `list_indices` tool
   - This is REQUIRED if knowledge base search yields no results
   - Use `list_indices` tool to find other available indices
3. โœ… Check `get_config` for current settings if needed
4. โœ… Report findings: "Found: [detailed summary]" or "Not found: [what was searched]"
```

**ENFORCEMENT:**
- โŒ **FORBIDDEN**: Skipping knowledge base search
- โŒ **FORBIDDEN**: Starting with assumptions or guesswork
- โœ… **REQUIRED**: Search existing knowledge before proceeding

**Goal**: Understand task context and gather existing knowledge

---

### **๐ŸŽฏ PHASE 2: PLANNING**
**RULE 2**: After research completed, analyze and get project guidance

**โš ๏ธ CRITICAL REQUIREMENT: MUST CALL `ask_mcp_advice` TOOL EVERY USER RESPONSE**

**Required Actions:**
```
1. โœ… Analyze what needs to be done based on research findings
2. ๐Ÿšจ MANDATORY: Call `ask_mcp_advice` tool with intended action and task description
   - This is REQUIRED for EVERY user response
   - NO EXCEPTIONS - failure to call = workflow violation
   - Call EXACTLY ONCE per user response - not multiple times
3. โœ… Use returned guidance to inform approach
4. โœ… Follow guidance precisely for implementation
```

**ENFORCEMENT:**
- โŒ **FORBIDDEN**: Skipping `ask_mcp_advice` call
- โŒ **FORBIDDEN**: Calling `ask_mcp_advice` multiple times per user response
- โœ… **REQUIRED**: Exactly 1 call per user response in Phase 2

**Goal**: Get project-specific guidance before implementation

---

### **โšก PHASE 3: EXECUTION**
**RULE 3**: Implement with guidance, ask for help when uncertain

**โš ๏ธ CRITICAL REQUIREMENT: IF UNCERTAIN OR STUCK MUST CALL `ask_user_advice` TOOL**

**Required Actions:**
```
1. โœ… Execute task following guidance from Phase 2
2. โœ… If uncertain or stuck โ†’ MANDATORY: Call `ask_user_advice` tool
3. โœ… Continue until task is completed successfully
```

**Goal**: Complete task effectively with available guidance

---

### **๐Ÿ“š PHASE 4: DOCUMENTATION**
**RULE 4**: After task completion, preserve knowledge

**โš ๏ธ CRITICAL REQUIREMENT: MUST CALL `index_document` TOOL FOR DOCUMENTATION**

**Required Actions:**
```
1. โœ… Create knowledge base document for task/solution/discovery
2. โœ… Include: problem, solution steps, lessons learned, user feedback
3. ๐Ÿšจ MANDATORY: Call `create_document_template` tool before calling `index_document` tool to ensure proper document structure.
4. ๐Ÿšจ MANDATORY: Call `index_document` tool with appropriate tags for searchability

Read the full file on GitHub ยท 126 lines

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. 2mo ago First seen ยท 126 lines ยท 1,249 tokens per session scan A 911a3921108a

Subscribe to this mod's changes

Project is an instructions file published in the GitHub repository fastmcp-me/agentknowledgemcp (0 stars, last pushed 1y ago), licensed MIT. It adds 1,249 tokens to every session, about $0.0050 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to AgentKnowledgeMCP copilot-instructions.md, differing in 0 lines, and is treated as a copy.

Related

Project compared with instructions from other repositories

Project next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Projectfastmcp-me/agentknowledgemcpInstructions file01y agoMITA1,249GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode