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 instructions/sap-samples/hana-developer-cli-tool-example/vitepress-config-managementgit clone --depth 1 https://github.com/SAP-samples/hana-developer-cli-tool-exampleWrote 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/instructions/sap-samples/hana-developer-cli-tool-example/vitepress-config-management)<a href="https://agentmods.dev/instructions/sap-samples/hana-developer-cli-tool-example/vitepress-config-management"><img src="https://agentmods.dev/badge/instructions/sap-samples/hana-developer-cli-tool-example/vitepress-config-management.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.03825 | $0.03825 |
| Opus 5 | $0.01912 | $0.01912 |
| Sonnet 5 | $0.00765 | $0.00765 |
| Haiku 4.5 | $0.00382 | $0.00382 |
Grade B, and why
hana-developer-cli-tool-example vitepress-config-management.instructions.md scanned grade B with 1 finding 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
- [ ] Build succeeds without warnings How it starts
The opening of the file, as written. The whole thing — 644 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VitePress Configuration Management Guidelines
Use this guide when creating or modifying VitePress configuration files in the docs/.vitepress/ directory.
Scope and Purpose
This guide applies to VitePress documentation site configuration:
docs/.vitepress/config.ts- Main site configurationdocs/.vitepress/theme/- Custom theme filesdocs/.vitepress/components/- Custom Vue components- Build and deployment configurations
Critical Principles
- Base URL: Always configure correct base URL for GitHub Pages deployment
- Sidebar Structure: Maintain hierarchical, collapsible sidebar navigation
- Mermaid Integration: Use
withMermaid()wrapper for diagram support - Language Alias: Map custom syntaxes to supported highlighters
- SEO Optimization: Include proper meta tags and descriptions
- Clean URLs: Enable clean URLs for better user experience
- Type Safety: Use TypeScript for configuration
Main Configuration Structure
Template: docs/.vitepress/config.ts
import { defineConfig } from 'vitepress'
import { withMermaid } from 'vitepress-plugin-mermaid'
export default withMermaid(
defineConfig({
// Site Metadata
base: '/repository-name/',
title: 'Site Title',
description: 'Site description for SEO',
lang: 'en-US',
// Features
cleanUrls: true,
ignoreDeadLinks: false, // Set true only if needed
appearance: 'dark',
lastUpdated: true,
// Markdown Configuration
markdown: {
languageAlias: {
customLang: 'typescript'
}
},
// HTML Head
head: [
['link', { rel: 'icon', href: '/base-path/favicon.ico' }],
['meta', { name: 'theme-color', content: '#0092d1' }],
['meta', { name: 'og:type', content: 'website' }],
['meta', { name: 'keywords', content: 'keyword1, keyword2' }],
],
// Theme Configuration
themeConfig: {
logo: '/logo.svg',
siteTitle: 'Short Title',
// Navigation
nav: [
// Navigation items
],
// Sidebar
sidebar: {
// Sidebar configuration
},
// Social Links
socialLinks: [
{ icon: 'github', link: 'https://github.com/...' }
],
// Search
search: {
provider: 'local'
},
// Footer
footer: {
message: 'Released under the Apache License.',
copyright: 'Copyright © 2024-present SAP'
}
}
})
)
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.
- 5d ago First seen · 644 lines · 3,825 tokens per session scan B 721f99bc77fd
hana-developer-cli-tool-example vitepress-config-management.instructions.md is an instructions file published in the GitHub repository SAP-samples/hana-developer-cli-tool-example (109 stars, last pushed 2d ago), licensed Apache-2.0. It adds 3,825 tokens to every session, about $0.0191 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
rtk CLAUDE.md
Claude Code instructions for rtk-ai/rtk, covering claude.md, project overview, name collision warning, development commands and build & run.
rtk copilot-instructions.md
Copilot instructions for rtk-ai/rtk, covering copilot instructions for rtk, using rtk in this session, instead of: use, build, test & lint and pre-commit gate (must all pass before any pr).
awesome-vscode CLAUDE.md
Instructions for viatsko/awesome-vscode, covering claude.md, what this repo is, adding an entry, themes and linting / ci.
vscode-peacock AGENTS.md
AGENTS.md instructions for johnpapa/vscode-peacock, covering peacock — agent guide, project overview, repository structure, tech stack and build & run.
cs CLAUDE.md
Claude Code instructions for boyter/cs, covering claude.md, project overview, build & test commands, architecture and query pipeline (pkg/search/).
vscode-angular-snippets AGENTS.md
AGENTS.md instructions for johnpapa/vscode-angular-snippets, covering angular snippets for vs code — agent guide, repository structure, tech stack, build & run and test in browser (vscode.dev mode).