synapps copilot-instructions.md

Repository instructions for Synapps, a code-intelligence system that indexes projects and lets contributors navigate code through its structured graph.

In plain words
What is it for?
Use them to find symbols, read their context, discover callers and callees, inspect usages, and assess the effects of a code change.
Why use it?
They explain how to inspect symbols and relationships reliably before editing, instead of searching files manually.

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/alexjsmith0115/synapps/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/alexjsmith0115/synapps

Made for: GitHub Copilot.

Per session 499 This file is loaded in full into every session.
When invoked 499 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.00499 $0.00499
Opus 5 $0.00249 $0.00249
Sonnet 5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

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

Security

Grade A, and why

synapps 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 2d 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 · 35 lines

How it starts

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

Synapps MCP

This project is indexed by the Synapps code-intelligence graph. Use Synapps MCP tools instead of grep or file reads for understanding code structure, relationships, and navigating symbols.

Workflow

  • Projects must be indexed before querying. Call list_projects to check what is indexed, index_project to index a new project, sync_project to refresh a stale index.
  • If queries return empty results, call list_projects(path=...) to check whether the project is indexed.

Tool selection (by task)

Task Tool Instead of
Understand a symbol before editing get_context_for with scope="edit" manual file reads
Read source code of a symbol get_context_for reading files by line range
Symbol metadata (file, line, kind) get_context_for with scope="structure"
Find a symbol by name search_symbols guessing full_name strings
Find who calls a method find_usages grep for method name
Find what a method calls find_callees (use depth for reachable call tree) execute_query
All usages of any symbol find_usages (use kind to filter type refs) grep
Impact analysis before changes get_context_for with scope="impact" manual caller tracing
Find API/controller entry points find_entry_points recursive find_callers
Find all implementations of an interface find_implementations
Understand class inheritance get_hierarchy
Find constructor/field dependencies find_dependencies
Architecture overview get_architecture
Custom graph queries get_schema then execute_query (last resort)

Avoid

  • Do not use execute_query when a dedicated tool exists for the task.
  • Do not read files with grep or cat when get_context_for can retrieve the exact code.
  • Do not guess symbol names — use search_symbols to discover them first.
  • Do not skip get_context_for with scope="edit" before modifying a method — it shows callers, dependencies, and tests that might break.

Read the full file on GitHub · 35 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. 2d ago First seen · 35 lines · 499 tokens per session scan A 69b53986827f

Subscribe to this mod's changes

synapps copilot-instructions.md is an instructions file published in the GitHub repository alexjsmith0115/synapps (1 stars, last pushed 4mo ago), licensed MIT. It adds 499 tokens to every session, about $0.0025 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.