agent-context-loader
'Execute proactive auto-loading: automatically detects and loads agents.md
Install / Use
npx skills add jeremylongshore/tons-of-skills-marketplace --skill agent-context-loaderInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of agent-context-loader
agent-context-loader scores 80/100 on our quality scale, 1976th of 2,607 Automation skills we index.
Its SKILL.md is 4.2 KB long, well organised into 8 sections and no code examples: a solid amount of guidance for an agent.
With 2,785 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 6 days ago, so agent-context-loader is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
agent-context-loader compared with similar skills
All 4 of these similar skills score higher than agent-context-loader; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agent-context-loader (this skill)by jeremylongshore | 80 | 2.8k | 6d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.3k | 14d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 73.6k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 84.6k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 7d ago | SKILL.md |
Frequently asked questions
- How do I install agent-context-loader?
- Run
npx skills add jeremylongshore/tons-of-skills-marketplace --skill agent-context-loader. The install tabs above show the steps for each supported agent. - Which AI agents does agent-context-loader work with?
- It is written for Claude Code and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is agent-context-loader safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agent-context-loader still maintained?
- The repository was last updated 6 days ago, so agent-context-loader is actively maintained.
Skill content
View source on GitHubname: agent-context-loader description: 'Execute proactive auto-loading: automatically detects and loads agents.md files.
Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(general:), Bash(util:) version: 1.24.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
- productivity
- agent-context compatibility: Designed for Claude Code
Agent Context Loader
Overview
Automatic discovery and loading of AGENTS.md files across project hierarchies for AI coding agents. This skill scans the current workspace and its parent directories to locate agent instruction files, then surfaces their contents so the active agent session has full operational context.
Prerequisites
- A project workspace containing one or more
AGENTS.mdfiles at any directory depth - Read and Glob permissions to traverse the directory tree
- Grep access for searching file contents when multiple candidates exist
Instructions
- Scan the current working directory and all ancestor directories (up to the filesystem root or repository root) for files named
AGENTS.mdoragents.md. - Search subdirectories of the current workspace for additional
AGENTS.mdfiles that may apply to sub-projects or modules. - Determine load order: files closer to the repository root load first (global context), files in deeper directories load later (override or supplement).
- Read each discovered
AGENTS.mdfile and extract its instruction blocks, workflow definitions, and constraint declarations. - Merge instructions into a unified context, noting any conflicts between levels (e.g., a subdirectory agent overriding a root-level rule).
- Present the loaded context as a structured summary: source file path, instruction count, and any detected conflicts.
- Cache the discovery results for the current session to avoid redundant filesystem scans on subsequent activations.
Output
- Ordered list of discovered
AGENTS.mdfile paths with their directory depth - Merged instruction set combining all discovered agent contexts
- Conflict report highlighting any contradictory directives between levels
- Session cache status indicating whether results are fresh or reused
Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| No AGENTS.md found | Workspace has no agent instruction files | Confirm the correct working directory; create an AGENTS.md at the project root if needed |
| Permission denied on directory traversal | Restricted parent directories above the workspace | Limit scan depth to the repository root (detected via .git/ presence) |
| Circular symlink detected | Symlinked directories create an infinite traversal loop | Skip symlinked directories during the scan; log a warning with the symlink path |
| Conflicting instructions across levels | A subdirectory AGENTS.md contradicts the root-level file | Flag the conflict in the output; apply the more specific (deeper) instruction by default |
| File encoding error | AGENTS.md uses a non-UTF-8 encoding | Attempt latin-1 fallback; report the file path and encoding issue |
Examples
Example 1: Monorepo with per-package agent instructions
- Structure: Root
AGENTS.mdsets global conventions;packages/api/AGENTS.mdadds API-specific tooling rules. - Result: Both files loaded in order. The API-specific rules supplement the global context without conflict.
Example 2: Nested workspace with conflicting commit policies
- Structure: Root
AGENTS.mdsays "always sign commits";services/legacy/AGENTS.mdsays "skip commit signing." - Result: Conflict detected and reported. The deeper (legacy) directive is applied with a warning noting the override.
Example 3: First-time setup with no agent files
- Structure: A freshly cloned repository with no
AGENTS.mdanywhere. - Result: Scan completes with zero files found. Output includes a suggestion to create
AGENTS.mdat the repository root with a minimal template.
Resources
- AGENTS.md open specification: https://agents.md/
- Monorepo workspace patterns for agent configuration: https://code.claude.com/docs
- File discovery best practices for hierarchical configuration loading
Related Skills
Agent-Reach
86.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Scrapling
84.6k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
