Skip to content

Armagnac/agentlib.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agentlib.sh

A curated registry of rules and commands for AI coding agents (Cursor, Claude Code)

This repository contains the source content for agentlib.sh - an open registry of reusable rules and commands for AI coding agents.

🎯 What is this?

agentlib.sh is a community-driven collection of AI agent resources:

  • Commands: Manual slash commands for repeatable workflows
  • Skills: Auto-discovered capabilities with supporting files
  • Agents/Subagents: Specialized AI assistants with isolated context
  • Rules (Cursor only): Persistent guidelines for code generation

These resources help you get more consistent, high-quality output from AI coding assistants.

📁 Repository Structure

agentlib.sh/
└── resources/
    ├── cursor/
    │   ├── rules/          # Persistent code guidelines
    │   ├── commands/       # Manual slash commands
    │   ├── skills/         # Auto-discovered capabilities
    │   └── subagents/      # Specialized AI assistants
    └── claude-code/
        ├── commands/       # Manual slash commands
        ├── skills/         # Auto-discovered capabilities
        └── agents/         # Specialized AI assistants

Each resource is a markdown file with frontmatter:

  • Frontmatter contains metadata (description, type, etc.)
  • Content follows standard markdown format

🚀 Using Resources

Browse on the Web

Visit agentlib.sh to browse, search, and discover resources.

Install Directly

Commands & Rules (single files):

curl https://raw.githubusercontent.com/YOUR_ORG/agentlib.sh/main/resources/cursor/commands/quick-commit/content.md > .cursor/commands/quick-commit.md

Skills (folder with SKILL.md):

mkdir -p .claude/skills/skill-name
curl https://raw.githubusercontent.com/YOUR_ORG/agentlib.sh/main/resources/claude-code/skills/skill-name/content.md > .claude/skills/skill-name/SKILL.md

Agents/Subagents (files with frontmatter):

curl https://raw.githubusercontent.com/YOUR_ORG/agentlib.sh/main/resources/claude-code/agents/agent-name/content.md > .claude/agents/agent-name.md

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for detailed guidelines.

Quick Start

  1. Fork this repository
  2. Create a new resource:
    resources/{platform}/{type}/{resource-name}/content.md
    
  3. Add frontmatter and content
  4. Submit a pull request

Resource Guidelines

  • Clear and focused on one problem
  • Includes examples and use cases
  • Tested in target platform
  • Properly tagged

📝 Resource Format

All resources use markdown with YAML frontmatter:

Commands

---
description: Clear 2-4 sentence description
resource_type: command
command_syntax: /command-name
---

# Command Title
Content here...

Skills

---
description: Clear 2-4 sentence description
resource_type: skill
---

# Skill Title
Content here...

Agents/Subagents

---
name: agent-name
description: When to use this agent
resource_type: agent
tools: Read, Grep, Bash
model: sonnet
---

You are an expert in [domain]...

Rules (Cursor only)

---
description: Clear 2-4 sentence description
resource_type: rule
source_url: https://reference.com  # Optional
---

# Rule Title
Content here...

Note: Fields like slug, name, tagline, and tags are auto-generated by the registry sync system.

🔗 Links

  • Website: agentlib.sh
  • Community-driven and open source

Made with ❤️ by the Armagnac & AI coding community

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors