# Agent Rules

> Use this tool when you need to access coding rules and best practices remotely, eliminating the need for local rule files. It solves problems of inconsistent development standards by providing on-demand access to GitHub repositories, supporting multiple file formats and intelligent caching. Ideal for development teams, AI agents, and organizations seeking to centralize and share coding best practices across projects.

Canonical page: https://skillsregistry.net/skills/4regab-agent-rules  
JSON: https://api.skillsregistry.net/v1/skills/4regab-agent-rules

## Description

Agent Rules MCP server by 4regab that enables AI assistants to fetch coding rules and best practices on-demand from GitHub repositories, eliminating the need for local rule files by providing remote access to development standards. Built with TypeScript and the MCP SDK, the implementation offers two core tools: get_rules for retrieving specific rule domains and list_rules for discovering available domains, with intelligent caching, rate limit handling, and support for multiple file formats including .md, .mdc, .chatmode.md, and .instructions.md files. The server includes fallback mechanisms for unauthenticated GitHub API access, metadata extraction from YAML frontmatter, and can be configured to work with any GitHub repository containing rule collections, making it valuable for development teams maintaining consistent coding standards across projects, AI agents requiring context-specific development guidance, and organizations wanting to centralize and share their coding best practices without manual file management.

## Trust

- **Trust score (0–1):** 0.93
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/4regab-agent-rules)
- **Repository:** <https://github.com/4regab/agent-rules-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "4regab-agent-rules"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/4regab-agent-rules` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/4regab-agent-rules/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
