indonesia-civic-stack copilot-instructions.md

indonesia-civic-stack copilot-instructions.md is an instructions file for GitHub Copilot from suryast/indonesia-civic-stack. It costs 248 tokens per session, scanned A, original, MIT.

Repository instructions for a Python SDK that accesses Indonesian government data portals. They define the required async code style, shared response types, rate limiting, testing, and module layout.

In plain words
What is it for?
Use them when adding or reviewing scrapers, data normalizers, FastAPI routes, MCP servers, tests, or documentation in this SDK.
Why use it?
They keep new modules consistent and help prevent unsafe requests, inconsistent errors, live calls in tests, and misplaced code.

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/suryast/indonesia-civic-stack/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/suryast/indonesia-civic-stack

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 indonesia-civic-stack copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/suryast/indonesia-civic-stack/copilot-instructions.svg)](https://agentmods.dev/instructions/suryast/indonesia-civic-stack/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/suryast/indonesia-civic-stack/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/suryast/indonesia-civic-stack/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 248 This file is loaded in full into every session.
When invoked 248 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.1 $0.00248 $0.00248
Opus 5 $0.00124 $0.00124
Sonnet 5 $0.00050 $0.00050
Haiku 4.5 $0.00025 $0.00025

Measured 5d ago against content hash c8662475a4cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

indonesia-civic-stack 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 5d 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 · 24 lines

What it actually says

Copilot Instructions

This is a Python SDK for Indonesian government data portals.

Key rules:

  • All functions are async. Use async def and await.
  • Always use civic_client() from shared.http — never raw httpx.
  • Every function must accept proxy_url: str | None = None parameter.
  • Return CivicStackResponse from shared.schema — never raw dicts.
  • On errors, return error_response() — never raise in search().
  • Rate limit with RateLimiter from shared.http.
  • Tests use VCR cassettes — never hit live government portals.
  • Python 3.11+, Pydantic v2, ruff for formatting, line length 100.

File structure per module:

  • scraper.py — fetch() and search() functions
  • normalizer.py — raw HTML/JSON → dict transformations
  • router.py — FastAPI routes
  • server.py — MCP server using CivicStackMCPBase
  • app.py — FastAPI app
  • README.md — module docs

See AGENTS.md for full architecture guide.

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. 5d ago First seen · 24 lines · 248 tokens per session scan A c8662475a4cf

Subscribe to this mod's changes

indonesia-civic-stack copilot-instructions.md is an instructions file published in the GitHub repository suryast/indonesia-civic-stack (6 stars, last pushed 25d ago), licensed MIT. It adds 248 tokens to every session, about $0.0012 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.

Related

Other instructions, from other repositories

curb CLAUDE.md

Claude Code instructions for alevizio/curb, covering curb — sf street parking, block by block, what it is, stack (intentionally minimal), spatial queries (verified working) and key product decisions / constraints (don't regress these).

alevizio/curb · 6,277 tokens

curb AGENTS.md

AGENTS.md instructions for alevizio/curb, covering curb — sf street parking, block by block, what it is, stack (intentionally minimal), spatial queries (verified working) and key product decisions / constraints (don't regress these).

alevizio/curb · 2,305 tokens

ph-civic-data-mcp CLAUDE.md

Claude Code instructions for xmpuspus/ph-civic-data-mcp, covering claude.md - ph-civic-data-mcp, what this is, contracts every change must hold, registration and module layout and psa openstat landmines.

xmpuspus/ph-civic-data-mcp · 4,321 tokens

forthepeople CLAUDE.md

Claude Code instructions for jayanthmb14/forthepeople, covering claude.md — forthepeople.in project instructions, project, database schema changes (critical — changed june 2026), documentation location and completed prompts archive.

jayanthmb14/forthepeople · 1,732 tokens

civic-ai-tools AGENTS.md

AGENTS.md instructions for npstorey/civic-ai-tools, covering agents.md, boundaries, commands, mcp configuration and where the detail lives.

npstorey/civic-ai-tools · 1,549 tokens

civ.iq CLAUDE.md

Claude Code instructions for civdotiq/civ.iq, covering claude.md - civ.iq ai assistant instructions, quick context, critical rules (never violate), project structure and domain rules (in .claude/rules/).

civdotiq/civ.iq · 803 tokens