asset-aware-mcp: Instructions file for GitHub Copilot

.github/copilot-instructions.md

asset-aware-mcp copilot-instructions.md is an instructions file for GitHub Copilot from u9401066/asset-aware-mcp. It costs 10,569 tokens per session, scanned B, original, Apache-2.0.

A set of project instructions for GitHub Copilot Agent Mode and Claude Code. It explains how Asset-Aware MCP turns PDFs into reusable text, table, image, section, and formula assets while preserving page, position, and line references.

In plain words
What is it for?
Guiding work on PDF extraction, OCR for scanned files, table creation, section navigation, image analysis, knowledge-graph retrieval, and export of document assets for agents.
Why use it?
It gives coding agents a shared understanding of the project, its document-processing choices, and its local or OpenAI language-model setup. This helps them choose suitable extraction methods and keep sources traceable.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

This is u9401066/asset-aware-mcp's own configuration. It tells GitHub Copilot how to work on asset-aware-mcp 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 asset-aware-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/asset-aware-mcp. 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/u9401066/asset-aware-mcp/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/asset-aware-mcp

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 asset-aware-mcp copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/u9401066/asset-aware-mcp/copilot-instructions/github.svg)](https://agentmods.dev/instructions/u9401066/asset-aware-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/u9401066/asset-aware-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/u9401066/asset-aware-mcp/copilot-instructions/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 asset-aware-mcp copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/u9401066/asset-aware-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/u9401066/asset-aware-mcp/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,569 This file is loaded in full into every session.
When invoked 10,569 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.10569 $0.10569
Opus 5.5 $0.04228 $0.04228
Sonnet 5.5 $0.02114 $0.02114
Haiku 4.5 $0.01057 $0.01057

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

Security

Grade B, and why

asset-aware-mcp copilot-instructions.md scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- MCP 設定會保守 merge:Copilot `.vscode/mcp.json`、Cline `cline_mcp_settings.json`、Codex `~/.codex/config.toml`
.github/copilot-instructions.md · 605 lines

How it starts

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

Copilot 自定義指令

This guide covers the consolidated 1.4.1 operations. Discover the installed runtime contract and enabled flags before use; check GitHub Releases for publication status. Keep releases on 1.4.x and consolidate verified changes; do not bump the version for each feature. MCP provides necessary checks; the Agent performs complete semantic/visual review and corrections.

📌 此檔案為 VS Code GitHub Copilot Agent Mode 與 Claude Code 的統一指引。


專案概述

MCP Server — Asset-Aware MCP

項目 說明
語言 Python 3.10+
框架 官方 MCP Python SDK 2 MCPServer、LightRAG、PyMuPDF;active optional engines 為 Docling / PyMuPDF4LLM
策略 文件→可重用 agent assets;ETL_ENGINE active paths 為 pymupdf(快速預設)/ pymupdf4llm(版面感知)/ docling,MinerU/Marker adapter 目前 security hold

🎯 核心目標:完整、快速地把文件轉換成「圖、文、表」等 agent 友善的資產,並保留精確來源定位(page / bbox / line span)供引用。

核心功能

  • When ods_enabled is advertised, create_ods creates independent native ODS files. Pin asset/revision for read_ods and read_ods_cell. read_ods lists compressed physical ranges with offset/limit; assemble ALL text_excerpt chunks at one text_sha256, sending ods_text_sha256 on text continuation. Then follow next_offset for physical ranges, resetting text_offset and the text hash for that new listing. read_ods_cell takes ods_locator with content.xml, exact table index/name and zero-based logical row/column, including explicit absent cells. Full cell refs identify ONE logical coordinate, never every cell represented by a repeated range. update_ods requires expected_revision and 1..100 unique full original cell refs, typed values and explicit replace_paragraphs_preserve_cell_style display_policy. Formula input uses value.kind="formula" and value.value beginning with "="; native XML prefixes such as "of:=" are not part of this typed input. Blank clears value only; strings stay literal. Review any rich-paragraph replacement. Read complete review_request receipts and new cell refs; no-op receipts are inline and create no history entry. Formula caches and display remain unverified. MCP checks source/revision/native structure; Agent reviews meaning, rich text, recalculated formula results and actual Calc appearance. Cell operations do not render automatically; worksheet rename uses the separate operation below. When workbook_rendering.source_formats includes ods, use the rendition workflow below. Repeated formulas/objects retain mapping-aware edit guards. Wiki retains exact .ods, physical ranges, anchor-only refs, full receipts and exact logical derivation endpoints. Historical evidence stays fixed.

Read the full file on GitHub · 605 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. 1mo ago Changed · +124 lines · +1,692 tokens per session 5f5e42b22c17
  2. 1mo ago Changed · +5 lines · +86 tokens per session b32da6df4d01
  3. 1mo ago Changed · +144 lines · +4,293 tokens per session 1f5ce72d12a3
  4. 1mo ago Changed · +2 lines · +171 tokens per session e6d05f009565
  5. 1mo ago First seen · 330 lines · 4,327 tokens per session scan B 50ed20000a2b

Subscribe to this mod's changes

asset-aware-mcp copilot-instructions.md is an instructions file published in the GitHub repository u9401066/asset-aware-mcp (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 10,569 tokens to every session, about $0.0423 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens