maple-procure: Instructions file for Claude Code

CLAUDE.md

maple-procure CLAUDE.md is an instructions file for Claude Code from samarpassey/maple-procure. It costs 675 tokens per session, scanned A, original, MIT.

Repository-specific instructions for MapleProcure, an MCP server that provides access to Canada's public tender and contract-award data. They document commands, coding rules, data handling, SQL safety, and privacy requirements.

In plain words
What is it for?
Use them when installing, ingesting data, testing, formatting, linting, serving, or modifying the MapleProcure codebase.
Why use it?
They help coding agents make changes that follow the repository's conventions and avoid breaking its stated invariants.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is samarpassey/maple-procure's own configuration. It tells Claude Code how to work on maple-procure 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 maple-procure configures →

Reuse

Borrowing it

Nothing to install: this file belongs to samarpassey/maple-procure. 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/samarpassey/maple-procure/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/samarpassey/maple-procure

Made for: Claude Code.

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 maple-procure CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/samarpassey/maple-procure/claude-md/github.svg)](https://agentmods.dev/instructions/samarpassey/maple-procure/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/samarpassey/maple-procure/claude-md"><img src="https://agentmods.dev/badge/instructions/samarpassey/maple-procure/claude-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 maple-procure CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/samarpassey/maple-procure/claude-md"><img src="https://agentmods.dev/badge/instructions/samarpassey/maple-procure/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 675 This file is loaded in full into every session.
When invoked 675 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.00675 $0.00675
Opus 5.5 $0.00270 $0.00270
Sonnet 5.5 $0.00135 $0.00135
Haiku 4.5 $0.00068 $0.00068

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

Security

Grade A, and why

maple-procure CLAUDE.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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 52 lines

How it starts

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

MapleProcure

An MCP server over Canada's public tender and award data (CanadaBuys). Python, mcp 2.0.0, SQLite, FastAPI host for streamable HTTP.

Commands

Command What
make install uv sync --extra dev
make ingest Download CanadaBuys CSVs → build data/maple.sqlite
make test pytest
make lint / make fmt ruff check / ruff format+fix
make serve-stdio MCP over stdio
make serve-http FastAPI + streamable HTTP on :8000

Invariants — do not break these without an entry in docs/DECISIONS.md

  1. Never commit data. No CSVs, no .sqlite. A clean clone reproduces with make install && make ingest && make test. Only tests/fixtures/*.csv is committed.
  2. Parameterised SQL only. No string interpolation into queries, ever.
  3. Every tool result carries provenance — as_of, source_file, row_count. No exceptions.
  4. Contact details are off by default. Buyer names, emails and phones live in tender_contacts and are returned only under the pii scope with an explicit argument.
  5. Never claim a capability that isn't in the code today — in the README, the tool descriptions, or anywhere else. If it ships, it works; if it doesn't work, it's in KNOWN_LIMITATIONS.md.
  6. Docs change in the same commit as the code they describe. A stale map is worse than no map.
  7. No Python file over 250 lines — enforced by tests/test_file_sizes.py. When a module approaches the cap, that is the signal to split it, not to raise the cap. Declare a thing once: fields live in mapping.py and the DDL, INSERT, and row builders all derive from them.

Read these when

File When
PROGRESS.md Start of every session. Component states and next step.
PLAN.md Before starting a component. Scope and the order scope gets dropped in.
docs/DATA.md Touching ingest, columns, or anything about the source files.
docs/SPEC-NOTES.md Touching the MCP server, transports, auth, or the export flow.
docs/DECISIONS.md When a choice feels arbitrary — it probably was decided already.
KNOWN_LIMITATIONS.md Before writing anything that claims what the server can do.

Read the full file on GitHub · 52 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 · 52 lines · 675 tokens per session scan A 04f56f3c162c

Subscribe to this mod's changes

maple-procure CLAUDE.md is an instructions file published in the GitHub repository samarpassey/maple-procure (1 stars, last pushed 1mo ago), licensed MIT. It adds 675 tokens to every session, about $0.0027 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

maple-procure CLAUDE.md compared with instructions from other repositories

maple-procure CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maple-procure CLAUDE.mdsamarpassey/maple-procureInstructions file11mo agoMITA675Claude Code
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