This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/skills/multi-agent-github-coordination.md

2.4 KiB

Multi-Agent GitHub Coordination

Purpose

Let agents on different computers coordinate through this private GitHub repository.

The current coordination model is chat-driven GitHub sync. Persistent realtime runners and heartbeat polling are disabled by default.

When To Use

Use this skill when:

  • an agent starts work after receiving this repository link;
  • multiple agents work on the same project;
  • an agent finishes work and needs to hand off state;
  • a problem or reusable solution should be shared with future agents.

Requirements

  • The agent must have GitHub access to this private repository.
  • The agent must be able to read the repository.
  • To update shared memory, the agent must be able to commit and push, or create a pull request.

Startup Procedure

  1. Clone or open krustophski/agent-knowledge-base.
  2. Pull or fetch the latest GitHub state when possible.
  3. Read AGENTS.md.
  4. Read projects/index.md.
  5. Identify the active project.
  6. Search global knowledge in skills/, problems/, locations/, and dialog-summaries/.
  7. Read that project's status.md, technical-spec.md, decisions.md, notes.md, and agent-log.md.
  8. Disable any existing garage-agent-runner-* scheduled task unless the user explicitly asked for live monitoring.

Handoff Procedure

After meaningful work:

  1. Update projects/<project>/status.md.
  2. Update projects/<project>/technical-spec.md if requirements or acceptance criteria changed.
  3. Append a dated entry to projects/<project>/agent-log.md.
  4. Add project-only decisions to projects/<project>/decisions.md.
  5. Add solved issues and reusable fixes to global problems/.
  6. Add reusable procedures to global skills/.
  7. Add or update a dialogue summary if this chat contains durable context.
  8. Commit, pull/rebase if needed, and push the changes to GitHub.

Do not bury reusable solutions inside a project log. Project logs should point to global entries when a solution may help other projects.

Agent Log Entry Format

## YYYY-MM-DD - Short Summary

- Machine:
- Agent:
- Summary:
- Files changed:
- Verified:
- Next handoff:

Conflict Handling

If another agent updated the same file:

  1. Preserve all useful entries.
  2. Order log entries by date and topic.
  3. Keep status.md focused on current truth, not full history.
  4. Move old details to notes.md if they are still useful.