Back to feed
Dev.to
Dev.to
6/17/2026
Agent contexts - A tool to feed you coding agents

Agent contexts - A tool to feed you coding agents

Short summary

agent-contexts is a CLI tool that centralizes and versions AI agent instruction files (CLAUDE.md, AGENTS.md, GEMINI.md) across multiple projects and folders, replacing hand-maintained trees with a single source of truth. It supports task-specific tags (onboarding, refactoring, feature-building) so different workflows get optimized guidance without slow, monolithic context files. Users install via npm, lock versions deterministically, and gate CI with status checks.

  • Solves context sprawl: replaces 40+ manual AGENTS.md files across repos with a single, versioned source of truth
  • Task-aware contexts: swap instruction sets per workflow (refactoring, onboarding, feature work) without rewriting files
  • CI-safe: deterministic install via lockfile, status checks detect stale or hand-edited contexts

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more