agentleFS
knoel99knoel99/claude-skills/skills/grokbot/agora-scene/SKILL.md

agora-scene

Skill1 starsChanged 24 days agoApache-2.0View on GitHub

Run a multi-bot scene with one headless grok session per bot. Use when the user wants a scene sheet, a short pilot, a timed scene, or a report. The user gives the duration in minutes or hours. Turns stay inside the runner. Do not use to pick a side, to write the story, or to pass an API key.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. knoel99/skills★ 1100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a multi-bot scene with one headless grok session per bot.

    line 4
  2. Distinctive:

    Do not use to pick a side, to write the story, or to pass an API key.

    line 7
  3. Distinctive:

    Use this when several bots share a room and each bot has its own headless grok session.

    line 14
  4. Distinctive:

    Do not pass an API key. Do not read one.

    line 18
  5. Very specific:

    Stop. The user reads sheet.md and sets approved: no to approved: yes.

    line 23
  6. Distinctive:

    Run the scene for the duration on the sheet.

    line 25
  7. Very specific:

    If a move hits that limit, the runner reads the partial stdout, keeps sessionId, and resumes.

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

agora-scene

When to use

Use this when several bots share a room and each bot has its own headless grok session.

The user gives the duration in minutes or hours. The runner turns that into a clock. Do not ask the user for a turn count.

Do not pass an API key. Do not read one. The child process does not inherit an API key variable.

Flow

  1. Write the sheet.
  2. Stop. The user reads sheet.md and sets approved: no to approved: yes.
  3. Run the pilot.
  4. Run the scene for the duration on the sheet.
  5. Write the report.

pilot and run exit with code 2 until the sheet is approved. run also exits with code 2 until the pilot has finished.

Commands

From this skill's directory:

python3 scripts/agora.py sheet \
  --scene /tmp/scene \
  --situation "whether to send the note" \
  --cast "ada:writes the note,bo:reads the note" \
  --duration "30 m" \
  --grok /path/to/grok

python3 scripts/agora.py pilot --scene /tmp/scene --grok /path/to/grok
python3 scripts/agora.py run --scene /tmp/scene --grok /path/to/grok
python3 scripts/agora.py report --scene /tmp/scene
python3 scripts/agora.py selftest

duration accepts minutes (30 m, 45 minutes) or hours (2 hours). --grok is the grok binary. Tests point it at a fake program. A missing approval is not a reason to start the binary.

Scene folder

sheet.md
channels/public.jsonl
channels/dm-*.jsonl
channels/huddle-*.jsonl
minds/<bot>.jsonl
sessions.json
cursor.json
transcript.md
turns.csv
report.md

sheet.md is public and frozen after the user approves it. Goals, secrets, and witnesses live under minds/ and private/. The narrator never receives those files.

What the runner does

Each bot is one grok -p session, resumed with --resume and the effort that bot chose for this move. The output format is streaming-json. A move sends the unread lines from that bot's own channels. The sheet step calls grok at medium effort with up to 4 turns. A reply that is not a sheet is sent back once with the error.

Bots run at the same time. The scheduler publishes the first finished move. It does not wait for a slower bot.

The script picks the floor. An interruption rewrites the open public line down to a shorter line, adds The line was cut., and leaves the speaker's session id and the full line in that bot's mind file.

leave removes the bot for the rest of the scene. That bot receives no later lines.

High effort is capped at 2 uses per bot. A later request uses medium. A scene holds at most 4 private channels. Each move has a time limit. The default is 90 seconds.

If a move hits that limit, the runner reads the partial stdout, keeps sessionId, and resumes. It does not send the seed again.

A reply that repeats another bot's private text is not written. The bot may say their own secret.

Prompts

prompts/director.md, prompts/narrator.md, and prompts/participant.md stay fixed. The runner appends the input for that call. The narrator is called when the room changes (an interruption, a departure, a silence, a gesture, or a private channel) and otherwise every 5 to 8 turns. The narrator sees the public sheet and the public channel only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.