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/joewongjc/type4me/agents-mdgit clone --depth 1 https://github.com/joewongjc/type4meWrote 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/joewongjc/type4me/agents-md)<a href="https://agentmods.dev/instructions/joewongjc/type4me/agents-md"><img src="https://agentmods.dev/badge/instructions/joewongjc/type4me/agents-md.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.04622 | $0.04622 |
| Opus 5 | $0.02311 | $0.02311 |
| Sonnet 5 | $0.00924 | $0.00924 |
| Haiku 4.5 | $0.00462 | $0.00462 |
Grade C, and why
type4me AGENTS.md scanned grade C 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 4d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
**Important**: SPM caches manifest evaluation in `~/Library/Caches/org.swift.swiftpm`. When switching variants manually (not via build-dmg.sh), clear this cache: `rm -rf .build ~/Library/Caches/org.swift.swiftpm` How it starts
The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Type4Me — Development Guide
Overview
macOS menu bar voice input tool with dual-engine local ASR, multi-provider cloud ASR, and LLM post-processing.
Local ASR: SenseVoice via native sherpa-onnx (streaming) + Qwen3-ASR (final calibration, Python WebSocket service managed by SenseVoiceServerManager).
Cloud ASR: 14 providers implemented (Volcano, StepFun streaming, StepFun batch, MiMo batch, OpenAI, Deepgram, Cartesia, AssemblyAI, ElevenLabs, Gemini, Grok, Soniox, Bailian, Baidu), plus Apple Speech.
Swift Package Manager project, no Xcode project file. Optional sherpa-onnx.xcframework enables local SenseVoice, Silero VAD, and punctuation restoration.
Branch Naming and Lifecycle
Use one short-lived branch for one independently reviewable change. Branches must use lowercase ASCII kebab-case and follow this form:
<type>/<issue-number-optional>-<concise-description>
Examples:
feat/241-cartesia-streaming-asr
fix/247-agent-context-cleanup
docs/intelli-sense-pangu-terminology
perf/reduce-startup-latency
refactor/session-output-pipeline
test/recognition-session-recovery
chore/update-swift-format
release/2.1.1
hotfix/251-crash-on-launch
Allowed types
| Type | Use for |
|---|---|
feat |
A user-visible capability or substantial new behavior. |
fix |
A defect fix. Prefix the issue number when one exists. |
docs |
Documentation-only changes. |
perf |
A measurable performance improvement without a primary behavior change. |
refactor |
Internal restructuring with no intended behavior change. |
test |
Test-only additions or repairs. |
chore |
Tooling, repository maintenance, or non-product housekeeping. |
release |
Release preparation and versioning. |
hotfix |
An urgent production fix. |
Rules
- Do not use agent, tool, model, or personal prefixes such as
agent/,codex/,builder/, or a username. These are execution details, not work categories. - Do not create a branch named only after a PR number, and do not combine unrelated changes on one branch.
- Keep descriptions specific but compact: prefer
fix/247-agent-context-cleanupoverfix/247-fix-the-problem-reported-in-the-agent-context-issue. - Use the same branch name locally and on its published review branch.
origin/mainis updated only with explicit user authorization. - Before merging or opening a PR, rebase or otherwise bring the branch up to
date with the current
origin/mainas appropriate for the requested workflow. Use--force-with-lease, never a blind force push, after a published branch is rebased. - After the change is confirmed in
main, delete its local and published remote branches unless there is an explicitly stated reason to retain them. Never delete an integration branch without explicit authorization. mainis the integration branch. Work directly on it, or push directly toorigin/main, only when the user explicitly asks for a direct change.
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.
- 4d ago First seen · 325 lines · 4,622 tokens per session scan C 150baca22e64
type4me AGENTS.md is an instructions file published in the GitHub repository joewongjc/type4me (1,422 stars, last pushed yesterday), licensed MIT. It adds 4,622 tokens to every session, about $0.0231 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.