agent-context-loader

Solid

PROACTIVE AUTO-LOADING: Automatically detects and loads AGENTS.md files from the current working directory when starting a session or changing directories. This skill ensures agent-specific instructions are incorporated into Claude Code's context alongside CLAUDE.md, enabling specialized agent behaviors. Triggers automatically when Claude detects it's working in a directory, when starting a new session, or when explicitly requested to "load agent context" or "check for AGENTS.md file".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Agent Context Auto-Loader **⚡ This skill activates AUTOMATICALLY - no user action required!** ## Purpose This skill makes Claude Code recognize and load `AGENTS.md` files with the same priority as `CLAUDE.md` files, enabling specialized agent-specific instructions for your projects. ## How It Works ### Automatic Trigger Conditions This skill automatically activates when: 1. **Starting a new Claude Code session** in any directory 2. **Changing directories** during a session (via `cd` or file operations) 3. **Any other agent skill is invoked** (ensures agent context is loaded first) 4. **User explicitly requests**: "load agent context", "check for AGENTS.md", or "read agent rules" ### Execution Flow When triggered, Claude Code will: 1. **Check for AGENTS.md**: Look for `./AGENTS.md` in the current working directory 2. **Read the file** (if it exists): Use the Read tool to load full content 3. **Incorporate into context**: Treat AGENTS.md rules as session-level instructions 4. **Announce loading**: Confirm with user: "📋 Loaded agent-specific context from AGENTS.md" 5. **Apply for session**: Follow these rules for all subsequent operations ### Priority and Conflict Resolution - **AGENTS.md supplements CLAUDE.md**: Both are active simultaneously - **In case of conflicts**: AGENTS.md takes precedence for agent-specific behaviors - **Scope**: AGENTS.md applies to agent workflows; CLAUDE.md applies to general project context ## Expected Behavior ### If AGENTS.md exist...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

agent-context-system

A persistent local-only memory system for AI coding agents. Two files, one idea — AGENTS.md (committed, shared) + .agents.local.md (gitignored, personal). Agents read both at session start, update the scratchpad at session end, and promote stable patterns over time. Works across Claude Code, Cursor, Copilot, Windsurf. Subagent-ready. No plugins, no infrastructure, no background processes.

21 Updated 1 months ago
AndreaGriffiths11
AI & Automation Listed

agents-md-manager

This skill should be used when creating, auditing, or maintaining AGENTS.md files and Codex CLI configuration for any project—including initializing AGENTS.md for cross-agent compatibility (Codex, Cursor, Copilot, Devin, Jules, Amp, Gemini CLI), generating config.toml or .rules files, scaffolding .agents/skills/, converting CLAUDE.md to AGENTS.md, or auditing existing agent configs for bloat and staleness. Complementary to codex-orchestrator (which executes subagents; this skill creates the config files they consume).

33 Updated yesterday
tdimino
AI & Automation Solid

agent-identifier

Use when creating or configuring Claude Code agents and their frontmatter.

4,111 Updated 3 days ago
Galaxy-Dawn
AI & Automation Listed

agents

List all available agents (core + expert)

69 Updated 2 months ago
claude-world
AI & Automation Listed

custom-agent-usage

Discover, validate, and invoke .agent.md custom agents. Use when finding agent files in the local Claude or VS Code Insiders directories, checking frontmatter, verifying disable-model-invocation, or determining agentName for runSubagent calls.

1 Updated today
bg-szy