Agent Plugins · Publisher repository

AgentRC Plugin

Microsoft's Agent Plugins 1.0 package reads repository structure, technology and conventions to generate root Copilot instructions, scoped area rules, lean AGENTS.md hubs and focused detail files.

1.1k StarsMITUpdated 1 months ago
01

Project overview

AgentRC Plugin splits repository instruction drafting into four inspectable Skills. It can read directories, dependency manifests, source and existing guidance before generating root Copilot instructions, scoped area rules, a lean AGENTS.md hub or a focused topic guide. This entry is based on the plugin files and project material at Microsoft's public 356ad61 commit. The component is an Agent Plugins 1.0 manifest plus Markdown instructions, not a standalone analysis service. Output quality still depends on the host model, repository evidence available to it and maintainer review.

02

Core capabilities

01

Generate root Copilot instructions

Explore existing guidance, technology, structure and monorepo layout, then condense repository-specific architecture, build and test commands, and conventions into roughly 20 to 50 lines at .github/copilot-instructions.md.

02

Generate scoped area rules

Read only the selected area's files, dependencies and conventions, then generate roughly 10 to 30 lines in .instructions.md without repeating root-level guidance.

03

Generate a lean AGENTS.md hub

Summarize component purpose, structure and local conventions and append JSON with 3 to 5 recommended detail files. The host parses and removes that recommendation block.

04

Generate focused detail guidance

Explore a topic such as testing, architecture or a chosen API and produce about 50 to 100 lines with a reading trigger and patterns found in the actual repository instead of generic advice.

03

Installation and usage

Install from Microsoft's repository through the Agent Plugins section in VS Code, or add the supplied Copilot marketplace manifest. Then run /root-instructions in a small repository you know well, review the proposed content and only then allow file writes or commits.

AI AGENT INSTALL

Let an AI Agent install it

Send this prompt to Codex, Claude Code, or another AI agent that can work with your local environment.

Help me install AgentRC Plugin from https://github.com/microsoft/agentrc. First read plugin/README.md, plugin/plugin.json, LICENSE and all 4 plugin/skills/*/SKILL.md files in full, then confirm that the current VS Code environment exposes Agent Plugins installation. Prefer the documented Install from Source path, and use the repository's raw marketplace manifest only if the host accepts a custom Copilot marketplace. Before installation, inspect existing .github/copilot-instructions.md, .instructions.md and AGENTS.md files in the target repository. After installation, only confirm whether the four slash commands are discoverable; do not modify files yet. Once I approve, run /root-instructions, show the intended read scope and proposed output, and ask before authentication, additional permissions, subagent creation, file overwrite or merge, network access, or committing changes. Do not claim untested host compatibility or output quality.
01Before you start
  • A VS Code environment with an Agent Plugins installation entry and chat slash commands
  • Access to github.com and, for the marketplace route, raw.githubusercontent.com
  • An open target repository and a clear understanding of the host's local-file, subagent and write permissions
  • A review of existing instruction files so overwrites or merges can be compared before approval
02Copy the install command or configuration
Project URL: https://github.com/microsoft/agentrc
Copy the URL and follow the steps below to complete setup.
03Complete the setup steps
  1. 1
    Install from Microsoft's repository

    In VS Code, open Extensions, enter Agent Plugins, choose Install from Source, and paste https://github.com/microsoft/agentrc. For the marketplace route, add only the raw marketplace.json URL documented in the README. Confirm that the displayed plugin is agentrc version 2.1.0.

  2. 2
    Create a root instruction baseline

    Open a familiar, reversible repository and run /root-instructions. Have the host list the existing guidance, manifests and key directories it plans to read. Verify the technology, build and test commands, and repository structure before allowing .github/copilot-instructions.md to be generated.

  3. 3
    Add scoped rules and focused guides

    Run /area-instructions for directories with their own conventions. For layered documentation, run /nested-hub and select one of its proposed topics for /nested-detail. Check that local files do not repeat root guidance and that file matching does not include unrelated directories.

  4. 4
    Review and version the output

    Verify every path, API, command and security boundary in the generated files. Run the real build and test commands, remove generic claims without repository evidence, and submit the result through normal code review. The plugin does not prove that instructions remain correct over time.

How to verify the setup

After installation, confirm that chat can discover /root-instructions, /area-instructions, /nested-hub and /nested-detail. Run /root-instructions first in a small, reversible repository. Check whether it identifies the real technology, structure, and build and test commands, and whether it targets .github/copilot-instructions.md. Compare any existing content before allowing a write. This is a suggested acceptance test and was not performed for this entry.

Before using it
  • The source installation field takes the whole repository URL. The plugin itself lives under plugin and the marketplace manifest points to that directory.
  • All four Skills require emit_file_content for delivery. A host without an equivalent tool may not complete the original output contract.
  • The root Skill requests parallel Explore subagents. A host without that feature should inspect sequentially and disclose the difference.
  • Uninstalling the plugin does not automatically remove instruction files already generated in a repository. Review those files individually.
04

Use cases

SCENARIO 01

Establish repository context for a newly adopted AI coding assistant

Derive technology, directory responsibilities, build and test commands, and key conventions from code and configuration in a reviewable root instruction file.

SCENARIO 02

Add local rules to a multi-package repository

Generate guidance scoped to a frontend app, backend service or package without mixing local conventions into the root document.

SCENARIO 03

Split an oversized AGENTS.md into a maintainable hub

Create a lean entry point and move testing, architecture or authentication details into separate files that maintainers can review and update independently.

05

Assessment

AgentRC Plugin has clear output boundaries. Its four Skills separately handle root, area, hub and detail files, and the source spells out length, deduplication and evidence expectations so maintainers can inspect the rules before adopting them. It is still a new component in an experimental project, plugin installation is documented only for VS Code, and results will vary with the model and repository. This entry verified source and metadata only; it did not install the plugin or generate files.

Why it may be useful

  • The four Skills have clear responsibilities and output paths for incremental adoption across repository levels.
  • The rules emphasize real code, dependencies and existing guidance while reducing duplication between root and local files.
  • The MIT license, security guidance, update history and marketplace manifest are publicly inspectable.

What to know first

  • The project explicitly remains experimental, so interfaces, installation and generation rules may change incompatibly.
  • The README does not include complete end-to-end examples or automated acceptance results for all four Skills.
  • The host must supply repository exploration and a file output tool equivalent to emit_file_content.
  • Public Releases cover the broader AgentRC project and do not independently establish stability for plugin version 2.1.0.
06

README

AgentRC Plugin


Overview

Microsoft's Agent Plugins 1.0 package reads repository structure, technology and conventions to generate root Copilot instructions, scoped area rules, lean AGENTS.md hubs and focused detail files. Get your repo ready for AI.

Getting started

  • Install from Microsoft's repository through the Agent Plugins section in VS Code, or add the supplied Copilot marketplace manifest. Then run /root-instructions in a small repository you know well, review the proposed content and only then allow file writes or commits.
  • The plugin directory follows the Agent Plugins 1.0 layout, with plugin.json at its root and one SKILL.md in each immediate child of skills.
  • root-instructions targets the whole repository and .github/copilot-instructions.md, covering technology, architecture, build and test commands, and project conventions.
  • After installation, confirm that chat can discover /root-instructions, /area-instructions, /nested-hub and /nested-detail. Run /root-instructions first in a small, reversible repository. Check whether it identifies the real technology, structure, and build and test commands, and whether it targets .github/copilot-instructions.md. Compare any existing content before allowing a write. This is a suggested acceptance test and was not performed for this entry.

Configuration

Project URL: https://github.com/microsoft/agentrc
Copy the URL and follow the steps below to complete setup.
Read the complete README on GitHub →