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.
npx agentmods add agents/antgroup/vsag/coding-standardsgit clone --depth 1 https://github.com/antgroup/vsagWrote 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.
[](https://agentmods.dev/agents/antgroup/vsag/coding-standards)<a href="https://agentmods.dev/agents/antgroup/vsag/coding-standards"><img src="https://agentmods.dev/badge/agents/antgroup/vsag/coding-standards.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00466 |
| Opus 5 | $0.00000 | $0.00233 |
| Sonnet 5 | $0.00000 | $0.00093 |
| Haiku 4.5 | $0.00000 | $0.00047 |
Grade A, and why
coding-standards 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coding Standards
Follow the Google C++ Style Guide with the project-specific rules below.
Formatting
- Use 4-space indentation in C++ source and header files.
- Use
.cppinstead of.cc - Keep C++ source and header files within a 100-character line limit.
- Do not impose the C++ line limit on Markdown or other non-C++ text files.
- Ensure committed text files end with a trailing newline
Code layout
- Keep public APIs in
include/vsag/. - Keep implementation in
src/. - Place tests near the code they validate when appropriate.
- Add or update Doxygen comments for public APIs.
- Keep code in the
vsagnamespace unless the file clearly requires otherwise.
What to optimize for
- Preserve API compatibility unless a breaking change is explicitly intended.
- Keep performance in mind for hot paths, memory layout, and parallel code.
- Follow existing project structure and naming before introducing new patterns.
- Prefer minimal, targeted changes over broad refactors.
Common code patterns
- Builder-style chained APIs are common.
std::shared_ptr<T>is used widely in public interfaces.- Prefer existing error-handling/result patterns used in the surrounding code.
- Prefer
uint64_toversize_tin code changes to avoid potential macOS compile issues.
Things to avoid
- Avoid changing files under
extern/unless the task explicitly requires third-party dependency changes. - Be careful with performance-sensitive code and cross-platform behavior.
- If changing build logic or dependencies, document the rationale clearly.
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.
- today First seen · 56 lines · 0 tokens per session scan A 5095cc1e1608
coding-standards is an agent published in the GitHub repository antgroup/vsag (507 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 466 tokens. 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-09-03.
Other agents, from other repositories
data-pipeline-engineer
Data pipeline specialist: embeddings, chunking strategies, vector indexes, data transformation for AI consumption.
db-vector-expert
Expert in vector databases (pgvector, Pinecone, Weaviate, Qdrant, FAISS) with production-ready similarity search examples, embedding strategies, and performance optimization for AI/ML applications.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.