Ijfw agents md

From FerroxLabs/wayland-core · View interactive version

Ijfw agents md is an AI agent skill from the GitHub repository FerroxLabs/wayland-core. Maintain canonical AGENTS.md (open spec). Trigger: 'agents.md', 'update AGENTS.md', or auto-fired by ijfw-team after agent generation.

How to use this skill

Skill file

IJFW AGENTS.md Manager

Maintains a project's AGENTS.md per the open spec at https://agents.md/.

AGENTS.md is the canonical agent-instructions surface across every IJFW host

(Claude, Gemini, Codex, Wayland, Hermes, Cursor, Windsurf, Copilot). Each

platform-specific file (CLAUDE.md, GEMINI.md, WAYLAND.md, etc.) is a

thin adapter that points here.


When to Invoke


Marker Block Taxonomy (reserved -- do not break)

The file is segmented by four IJFW-managed regions. Content outside markers

is user-authored and untouched.

| Block | Purpose |

|-------------|----------------------------------------------------------|

| MEMORY | Pointer to project memory + last handoff summary |

| ROUTING | Peer-skill routing rules (workflow, design, etc.) |

| AGENTS | Auto-generated agent definitions from .ijfw/agents/ |

| BLACKBOARD | Reserved for Pillar B (multi-CLI orchestration); empty |

Each block is delimited by <!-- IJFW-<NAME>-START --> /

<!-- IJFW-<NAME>-END --> markers. Replace inside; never overwrite.


Frontmatter Contract (typed)

YAML frontmatter at top of file follows the JSON Schema at

schema/agents-md-frontmatter.json. Keys that A1 may write or hoist:

Wayland reads compute_trust + compute_net to set per-project sandbox

defaults. Env vars override only when explicitly set.


Merge Mechanics

  1. Use scripts/lock.sh -- PID lockfile + atomic rename guarantees

concurrent invocations serialise without clobbering.

  1. lock.sh invokes scripts/merge-block-aware.sh <path> <BLOCK> <content>

which replaces marker-bounded regions atomically.

  1. If AGENTS.md is absent, the merger seeds it from

templates/AGENTS.md.tmpl.

  1. If markers are absent in an existing file, they are appended at the end

(user content stays intact).


Spec Subset IJFW Commits To

YAML frontmatter at top + GitHub-style heading slugs (lowercase, hyphenated).

This is the load-bearing subset of the open AGENTS.md spec; section anchors

remain stable for cross-tool references.


Don'ts

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.