Agent integrator

From diegosouzapw/awesome-omni-skill · View interactive version

Agent integrator is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Use this skill to create or update the root AGENTS.md file to register AgenticDev skills for AI agent discovery. Triggers include "register AgenticDev", "update AGENTS.md", "setup agent guide", or initializing a new project.

How to use this skill

Skill file

Agent Integrator Skill

Purpose

Idempotently create or update the AGENTS.md file in a project to register AgenticDev skills for discovery by AI agents. This skill ensures that any compatible AI agent working in the repository can discover and use the AgenticDev methodology and available skills.

When to Use

Use this skill in the following situations:

Prerequisites

AGENTS.md Purpose

The AGENTS.md file serves as a discovery mechanism for AI agents:

Workflow

Step 1: Determine If Update Is Needed

Check if AGENTS.md needs to be created or updated:

# Check if file exists
ls -la AGENTS.md

# Check if AgenticDev section exists
grep "SYNTHESIS_FLOW" AGENTS.md

Step 2: Run the Helper Script

Execute the script to update AGENTS.md:

# Use default location (AGENTS.md in project root)
bash scripts/update-agents-file.sh

# Or specify custom location
bash scripts/update-agents-file.sh -f path/to/custom-agents.md

Step 3: Understand What the Script Does

The helper script uses an idempotent update strategy:

  1. Creates file if missing:
  1. Checks for existing content:
  1. Updates existing content:
  1. Adds new content:
  1. Preserves other content:

Step 4: Verify the Update

Check that AGENTS.md was updated correctly:

# View the file
cat AGENTS.md

# Verify markers are present
grep -A 5 "SYNTHESIS_FLOW_START" AGENTS.md

Step 5: Commit the Changes

If the update looks correct, commit to the repository:

git add AGENTS.md
git commit -m "docs: Update AGENTS.md with AgenticDev guide"
git push

Error Handling

Permission Denied

Symptom: Script cannot write to AGENTS.md

Solution:

Marker Corruption

Symptom: Content between markers is malformed

Solution:

Custom File Path Issues

Symptom: Script creates file in wrong location

Solution:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.