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/flinedev/contextkit/agents-mdgit clone --depth 1 https://github.com/FlineDev/ContextKitWhat 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.09979 | $0.09979 |
| Opus 5 | $0.04990 | $0.04990 |
| Sonnet 5 | $0.01996 | $0.01996 |
| Haiku 4.5 | $0.00998 | $0.00998 |
Grade C, and why
ContextKit AGENTS.md scanned grade C with 2 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 yesterday.
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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
โโโ ๐ install.sh # GLOBAL INSTALLER (users run: curl | sh) Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
โโโ ๐ install.sh # GLOBAL INSTALLER (users run: curl | sh) How it starts
The opening of the file, as written. The whole thing โ 1,051 lines โ stays where its author put it; the contents beside it link to each section on GitHub.
ContextKit Repository Development Guide
๐จ CRITICAL: Meta-Development Context
You are working ON ContextKit, not WITH ContextKit!
This repository contains TEMPLATES and INSTALLATION SCRIPTS that other developers will use. The files here are NOT meant to be executed directly in this repository - they are source templates that get copied to user systems during installation.
๐ง Understanding the Meta-Architecture
ContextKit is a "template distribution system" - this repository contains:
- Templates - Files that get copied and customized during installation
- Installation scripts - Logic that copies templates to user systems
- Documentation - Explains how the system works
Key Mental Model: Think of this repository as a "template factory" that produces customized development environments for other projects.
๐ Complete Repository Structure & Purpose
ContextKit/
โโโ ๐ install.sh # GLOBAL INSTALLER (users run: curl | sh)
โโโ ๐ README.md # Public documentation
โโโ ๐ CLAUDE.md # This file - development guidance for AI assistants
โโโ ๐ LICENSE # MIT license
โโโ ๐ CHANGELOG.md # Version tracking and migration support
โโโ ๐ฏ Templates/ # TEMPLATE DISTRIBUTION CENTER
โโโ Guidelines/ # โ GLOBAL CODING STANDARDS (copied by install.sh)
โ โโโ Swift.md # Swift patterns
โ โโโ SwiftUI.md # SwiftUI patterns
โโโ Commands/ # โ CLAUDE CODE COMMANDS (get copied during /ctxk:proj:init)
โ โโโ proj/ # Project management commands
โ โ โโโ init.md # Project initialization
โ โ โโโ init-workspace.md # Workspace configuration
โ โ โโโ migrate.md # Version updates
โ โโโ plan/ # Feature planning workflow
โ โ โโโ 1-spec.md # Business requirements
โ โ โโโ 2-research-tech.md # Technical research and architecture
โ โ โโโ 3-steps.md # Implementation breakdown
โ โโโ impl/ # Development workflow
โ โ โโโ start-working.md # Context-aware development start
โ โ โโโ commit-changes.md # Smart commit message generation
โ โ โโโ release-app.md # iOS/macOS App Store releases
โ โ โโโ release-package.md # Swift Package releases
โ โโโ bckl/ # Backlog management
โ โโโ add-idea.md # Capture new ideas with evaluation
โ โโโ add-bug.md # Bug report with impact assessment
โ โโโ prioritize-ideas.md # Organize ideas backlog
โ โโโ prioritize-bugs.md # Triage bugs backlog
โ โโโ remove-idea.md # Remove completed ideas from backlog
โ โโโ remove-bug.md # Remove fixed bugs from backlog
โโโ Scripts/ # โ ALL SCRIPTS (hooks & standalone, get copied during /ctxk:proj:init)
โ โโโ AutoFormat.sh # Auto-format edited Swift files (PostToolUse hook)
โ โโโ VersionStatus.sh # Version checking and status display (SessionStart hook)
โ โโโ CustomStatusline.sh # Complete statusline script with 5h-usage tracking and colored progress bars
โโโ Agents/ # โ AI ASSISTANTS (get copied during /ctxk:proj:init)
โ โโโ build-project.md # [READY] Execute builds with constitutional compliance checking
โ โโโ check-accessibility.md # [INCOMPLETE] Accessibility compliance validation (VoiceOver, contrast, etc.)
โ โโโ check-localization.md # [INCOMPLETE] Localization readiness audit (String Catalog, cultural adaptation)
โ โโโ check-error-handling.md # [INCOMPLETE] ErrorKit pattern validation and typed throws
โ โโโ check-modern-code.md # [INCOMPLETE] API modernization (Date.now, Duration, async/await)
โ โโโ check-code-debt.md # [INCOMPLETE] Technical debt cleanup and code consolidation
โ โโโ run-test-suite.md # [READY] Execute complete test suite with build validation and structured failure reporting
โ โโโ run-specific-test.md # [READY] Execute specific test with build validation and focused failure analysis
โโโ Features/ # โ FEATURE TEMPLATES (used by /ctxk:plan:1-spec, /ctxk:plan:quick, etc.)
โ โโโ Spec.md # Business requirements and user stories (spec-kit methodology)
โ โโโ Tech.md # Technical architecture and constitutional compliance
โ โโโ Steps.md # Implementation task breakdown with parallel markers [P]
โ โโโ Quick.md # Quick task planning template with interactive validation
โโโ Contexts/ # โ CONTEXT TEMPLATES (used by /ctxk:proj:init and /ctxk:proj:init-workspace)
โ โโโ Project.md # Project-level Context.md with ContextKit configuration
โ โโโ Workspace.md # Workspace-level Context.md with client/company overrides
โโโ Backlog/ # โ BACKLOG TEMPLATES (used by /ctxk:bckl:add-idea and /ctxk:bckl:add-bug)
โ โโโ Ideas-Inbox.md # New idea capture template with evaluation framework
โ โโโ Ideas-Backlog.md # Prioritized idea backlog template with strategic organization
โ โโโ Bugs-Inbox.md # Bug report intake template with impact assessment
โ โโโ Bugs-Backlog.md # Triaged bug backlog template with severity-based organization
โโโ Formatters/ # โ CODE STYLE CONFIGS (get copied during /ctxk:proj:init)
โ โโโ .swift-format # Apple swift-format configuration
โ โโโ .swiftformat # SwiftFormat (Nick Lockwood) configuration
โโโ settings.json # โ CLAUDE CODE SETTINGS TEMPLATE
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.
- yesterday First seen ยท 1,051 lines ยท 9,979 tokens per session scan C 761fd8d2e373
ContextKit AGENTS.md is an instructions file published in the GitHub repository FlineDev/ContextKit (166 stars, last pushed 5mo ago), licensed MIT. It adds 9,979 tokens to every session, about $0.0499 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
AniShelf AGENTS.md
Instructions for samuelhe52/AniShelf, covering anishelf - developer notes, workflow, code style, testing and commits.
swift-architecture-skill CLAUDE.md
Instructions for efremidze/swift-architecture-skill, covering swift architecture skill, project structure, how the skill works and key conventions.
swift-architecture-skill AGENTS.md
Instructions for efremidze/swift-architecture-skill, covering agents guidelines for swift architecture skill, working with this repository, 1. understanding the skill, 2. modifying architecture playbooks and 3. testing and validation.
swift-ios-skills AGENTS.md
AGENTS.md instructions for dpearson2699/swift-ios-skills, covering claude.md, communication style, what this repo is, core repo shape and required context before any skill change.
swift-patterns-skill AGENTS.md
Instructions for efremidze/swift-patterns-skill, covering agent guidelines for swift patterns, core principles, 1. swift and swiftui focus, 2. no code formatting or linting and 3. no architectural opinions.
ios-skills AGENTS.md
AGENTS.md instructions for thiennc-tesoglobal/ios-skills, covering claude.md, communication style, what this repo is, core repo shape and required context before any skill change.