context-canopy: Instructions file for Codex

AGENTS.md

context-canopy AGENTS.md is an instructions file for Codex, OpenCode from YusenZhang0601/context-canopy. It costs 586 tokens per session, scanned A, original, MIT.

Repository instructions for ContextCanopy, a public project that manages an AI-assisted personal knowledge vault.

In plain words
What is it for?
Use them when setting up or migrating the project, reading or writing the vault, changing MCP code, or updating documentation.
Why use it?
They set boundaries for privacy, authority, portability, and completion checks so work is carried out in the correct part of the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is YusenZhang0601/context-canopy's own configuration. It tells Codex and OpenCode how to work on context-canopy 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 context-canopy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to YusenZhang0601/context-canopy. 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/YusenZhang0601/context-canopy/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/YusenZhang0601/context-canopy

Made for: Codex, OpenCode.

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 context-canopy AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yusenzhang0601/context-canopy/agents-md/github.svg)](https://agentmods.dev/instructions/yusenzhang0601/context-canopy/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/yusenzhang0601/context-canopy/agents-md"><img src="https://agentmods.dev/badge/instructions/yusenzhang0601/context-canopy/agents-md/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 context-canopy AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yusenzhang0601/context-canopy/agents-md"><img src="https://agentmods.dev/badge/instructions/yusenzhang0601/context-canopy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 586 This file is loaded in full into every session.
When invoked 586 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 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.00586 $0.00586
Opus 5.5 $0.00234 $0.00234
Sonnet 5.5 $0.00117 $0.00117
Haiku 4.5 $0.00059 $0.00059

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

Security

Grade A, and why

context-canopy AGENTS.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 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.

AGENTS.md · 44 lines

How it starts

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

ContextCanopy Agent Entry

This repository is the public ContextCanopy distribution. It is not a user's personalized authority.

Route before acting

  • For setup or migration, read README.md and skills/second-brain-attach/SKILL.md; finish with second-brain-doctor in a fresh host session.
  • For Vault reads or writes, work from vault/ and read vault/AGENTS.md completely before acting.
  • For MCP code or tests, work from mcp/ and read mcp/AGENTS.md completely before acting.
  • For documentation changes, keep README.md and README.zh-CN.md semantically aligned. Do not translate code, paths, commands, or compatibility identifiers.
  • The installable skills/second-brain-* directories and their vault/90-System/Personal-AI/SKILLS/ mirrors express the same public contract. Update both and verify byte equality; do not let them become competing owners.

Privacy and authority boundary

  • Before writing real personal context, have the user choose local-only or private-remote authority.
  • The public ContextCanopy remote is distribution-only. Never push a personalized Vault, raw conversations, credentials, private repository URLs, unpublished research, or sensitive evidence to it.
  • A private-remote setup must use a separate repository whose private visibility and writable identity were verified live. A public fork is not a personal Vault.
  • Keep common user context separate from each Agent's role. A new Agent should recognize the same person without becoming a clone of another Agent.

Portability claims

  • ContextCanopy moves user-owned durable context, Skills, and host projections. It does not move model weights, hidden provider memory, credentials, permissions, or active runtime state.
  • Selected accessible conversations and exports can be migrated through the guided Distill workflow. Do not claim a universal one-click provider-memory importer unless one has been implemented and verified.
  • Configuration-file presence is not installation proof. Attach and Sync complete only after the target host passes a fresh-session Doctor check.
  • Active rule files express the current effective state, not an append-only learning log. Preserve superseded evidence in Git and release history, remove retired behavior from active templates, and verify both the new behavior and the old behavior's exit.

Read the full file on GitHub · 44 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 · 44 lines · 586 tokens per session scan A fca4cced8dbe

Subscribe to this mod's changes

context-canopy AGENTS.md is an instructions file published in the GitHub repository YusenZhang0601/context-canopy (3 stars, last pushed 3d ago), licensed MIT. It adds 586 tokens to every session, about $0.0023 per session on Opus 5.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

context-canopy AGENTS.md compared with instructions from other repositories

context-canopy AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-canopy AGENTS.mdYusenZhang0601/context-canopyInstructions file33d agoMITA586Codex, OpenCode
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