platonai/browser4/coworker
Claude Code and agent skill by platonai/browser4
- community
Checking that the SKILL.md file is still in the repository.
Reference for the Coworker file-queue automation system: task lifecycle, directory state machine, PowerShell workers, scheduler configuration, and operational conventions. Use when you need to understand how Coworker works or debug its behavior.
Install
npx vskill@latest install platonai/browser4/coworkerSKILL.md
The same SKILL.md was published earlier as platonai/browser4/coworker.
Coworker
This repository contains a file-queue automation system called Coworker. The active implementation is the PowerShell worker in coworker/scripts/engineer.ps1: it watches task files, renames them, runs GitHub Copilot against the repository, logs the run, and routes the task through review/approval/push folders. (coworker/README.md:1-40, coworker/scripts/engineer.ps1:50-80, coworker/scripts/engineer.ps1:413-717)
What Coworker is for
- Use Coworker when you want an agentic workflow driven by task files in the repo, not by chat alone.
- A task can be a plain Markdown file or a structured file with
Title:,Description:, andPrompt:. If the structured header is missing, the full file becomes the prompt. (coworker/scripts/engineer.ps1:11-20,coworker/scripts/engineer.ps1:536-541) - The worker runs GitHub Copilot CLI with broad repo access to execute the task against the current repository. The helper command is configurable in
coworker/scripts/config.psd1. (coworker/scripts/workers/gh-copilot.ps1:37-65,coworker/scripts/config.psd1:1-12) - Important: the current/live workflow is file-based. The folder-based “story.md / analysis / plan / design / impl.patch / e2e” pipeline described in
coworker/docs/architect/orchestrator.mdandcoworker/scripts/architect/orchestrator.ps1exists as design/legacy material, but it is not the main coworker entrypoint used bycoworker.ps1. (coworker/docs/architect/orchestrator.md:1-38,coworker/scripts/architect/orchestrator.ps1:17-29,coworker/scripts/engineer.ps1:57-68)
Main workflows and scripts
1. Main task execution
- Primary entrypoint:
./coworker/scripts/engineer.ps1 - It ensures the task directories exist, optionally accepts a task file path, moves that file into
coworker/tasks/main/1ready, generates a descriptive kebab-case filename, moves it to2working, runs Copilot, writes logs, then moves the task tomain/3completeor5approved. (coworker/scripts/engineer.ps1:22-35,coworker/scripts/engineer.ps1:82-95,coworker/scripts/engineer.ps1:417-500,coworker/scripts/engineer.ps1:551-713) - The prompt given to Copilot explicitly says: finish the task described in the file, but do not move that task file yourself. The script handles routing after execution. (
coworker/scripts/engineer.ps1:531-545)
2. Queue processor / watchdog
- Recommended wrapper for one-shot or recurring checks:
./coworker/scripts/process-coworker-queue.ps1 - It checks for pending files in
1readyor5approved, avoids duplicate coworker runners, can optionally run task-source monitoring first, and has loop-detection logic that can kill a stuck coworker process and move the task from2workingtomain/3aborted. (coworker/scripts/process-coworker-queue.ps1:28-37,coworker/scripts/process-coworker-queue.ps1:55-69,coworker/scripts/process-coworker-queue.ps1:71-174,coworker/scripts/process-coworker-queue.ps1:176-250)
3. Unified scheduler
- Preferred automation entrypoint:
./coworker/scripts/coworker-scheduler.ps1 - Scheduler definitions live in
coworker/scripts/coworker-scheduler.config.psd1. - Current defaults:
coworkerevery 15s, dependent on task-source processing, only when1readyor5approvedhas files.draft-refinementevery 15s, only when0draft/refine/1readyhas files.commit-github-issuesevery 15s, only whenissues/github/commit/readyhas files.refine-github-issuesevery 15s, only whenissues/draft/refine/0readyhas files.process-task-sourceexists but is disabled by default. (coworker/scripts/coworker-scheduler.config.psd1:1-62)- The scheduler launches child PowerShell processes, keeps live worker output in each child terminal, records a console transcript log under
coworker/tasks/300logs/, and writes a JSON status snapshot. (coworker/scripts/coworker-scheduler.ps1)
4. Draft refinement pipeline
- Draft refinement is separate from main task execution.
- Queue:
coworker/tasks/main/0draft/refine/1readycoworker/tasks/main/0draft/refine/2workingcoworker/tasks/main/0draft/refine/3done- Main scripts:
coworker/scripts/workers/refine-drafts.ps1coworker/scripts/process-draft-refinement-queue.ps1refine-drafts.ps1moves files from ready -> working, asks Copilot to return only the refined document, then writes the refined content and moves the file to done. (coworker/README.md:128-152,coworker/scripts/workers/refine-drafts.ps1:31-39,coworker/scripts/workers/refine-drafts.ps1:89-151,coworker/scripts/process-draft-refinement-queue.ps1:28-71)
5. GitHub Issues pipeline
- Two-stage pipeline for extracting, refining, and creating GitHub issues from natural-language drafts:
- Refine (
coworker/scripts/workers/refine-github-issues.ps1): Scansissues/draft/refine/0ready, invokes the agent to extract individual issues from each draft, formats each as structured markdown, and writes them toissues/github/commit/ready. - Commit (
coworker/scripts/workers/commit-github-issues.ps1): Scansissues/github/commit/readyand creates each file as a GitHub issue viagh issue create.
- Directories:
issues/draft/refine/0ready→1working→2done(or0erroron failure); staged files land inissues/github/commit/ready. - Supports optional
Labels:,Assignees:, andRepo:metadata fields in each issue block. (coworker/scripts/workers/refine-github-issues.ps1:1-29,coworker/scripts/workers/commit-github-issues.ps1:1-19) - Both tasks are enabled by default in the scheduler config. (
coworker/scripts/coworker-scheduler.config.psd1:35-60)
6. Task-source ingestion
coworker/scripts/process-task-source.ps1can create new task files incoworker/tasks/main/1readyfrom:- GitHub issues assigned to a configured user
- a polled URL containing a keyword
- Defaults are repo
platonai/Browser4, assigneegalaxyeye, and keyword@galaxyeye. (coworker/scripts/process-task-source.ps1:18-25,coworker/scripts/process-task-source.ps1:40-58,coworker/scripts/process-task-source.ps1:61-106,coworker/scripts/process-task-source.ps1:109-151) - This source monitor is useful, but remember it is disabled in the default scheduler config. (
coworker/scripts/coworker-scheduler.config.psd1:62-67)
7. Git sync / pushing approved work
- When Coworker sees files in
5approved, it first moves them into a date-based folder under6git-pushed, then invokescoworker/scripts/workers/git-sync.ps1. (coworker/scripts/engineer.ps1:365-399) git-sync.ps1does not contain custom git logic; it asks GitHub Copilot to commit all changes in the repo, pull, push, and auto-resolve conflicts. Treat this as powerful and potentially risky. (coworker/scripts/workers/git-sync.ps1:16-29)
8. Memory helpers
- Before executing a task,
coworker.ps1callscoworker/scripts/workers/coworker-memory-generator.ps1 -Type initand appends returned memory context/instructions to the task prompt. (coworker/scripts/engineer.ps1:508-545) - Daily/monthly/yearly/global memory summaries are generated from
coworker/tasks/300logs. (coworker/scripts/workers/coworker-memory-generator.ps1:15-22,coworker/scripts/workers/coworker-memory-generator.ps1:103-172,coworker/scripts/workers/coworker-memory-generator.ps1:174-347,coworker/scripts/workers/coworker-daily-memory-generator.ps1:49-56,coworker/scripts/workers/coworker-daily-memory-generator.ps1:169-233)
How tasks move through directories
Main task lifecycle
- Draft in
coworker/tasks/main/0draft(manual authoring area). (coworker/README.md:16-28,coworker/tasks/main/0draft/README.md:1-37) - Queue by moving/copying the task file to
coworker/tasks/main/1ready. (coworker/README.md:30-40) The runner scans1readyrecursively, so tasks placed in date-organized subfolders (e.g.1ready/2026/0905/..., as written byreview-recent-issues/organize workers) are picked up too; dot-prefixed files/folders (.gitkeep,.locks,.hidden.md) are always ignored. (coworker/scripts/engineer.ps1:248-253,coworker/scripts/common/Watchers.ps1:17-78) - Rename + start work: Coworker generates a descriptive kebab-case name and moves the file to
coworker/tasks/main/2working. (coworker/scripts/engineer.ps1:417-500,coworker/scripts/workers/rename.ps1:30-60,coworker/scripts/workers/rename.ps1:153-178) - Execute: Copilot works against the repo; logs are written under
coworker/tasks/300logs/YYYY/MM/DD. (coworker/scripts/engineer.ps1:548-552,coworker/scripts/engineer.ps1:575-687) - Finish:
- normal tasks ->
coworker/tasks/main/3complete/YYYY/MMDD/... - tasks containing
#auto-approve->coworker/tasks/main/5approved/YYYY/MMDD/...(coworker/scripts/engineer.ps1:696-713,coworker/README.md:48-55)
- Approval / push:
- human review can happen in
main/3completeand optionally4review - moving a reviewed task to
5approvedcauses the next run to move it into6git-pushed/YYYY/MMDD/...and invoke git sync. (coworker/README.md:7-12,coworker/scripts/engineer.ps1:348-399)
- Failure path: stuck/aborted tasks can end up in
coworker/tasks/main/3aborted. (coworker/scripts/process-coworker-queue.ps1:133-174)
Separate draft-refinement lifecycle
0draft/refine/1ready->0draft/refine/2working->0draft/refine/3done. (coworker/README.md:128-152,coworker/scripts/workers/refine-drafts.ps1:31-39,coworker/scripts/workers/refine-drafts.ps1:129-151)
Separate GitHub issues lifecycle
- Refine:
issues/draft/refine/0ready->1working->2done(or0erroron failure). - Commit:
issues/github/commit/ready-> created viagh issue create. #auto-approvein a draft's last 5 lines also routes the original draft togithub/commit/readyas an issue. (coworker/scripts/workers/refine-github-issues.ps1:31-36,coworker/scripts/workers/refine-github-issues.ps1:447-465,coworker/scripts/workers/commit-github-issues.ps1:1-19)
Key PowerShell commands / entrypoints
From repository root in PowerShell:
References: coworker/README.md:34-40, coworker/README.md:85-90, coworker/README.md:121-152, coworker/scripts/engineer.ps1:22-35, coworker/scripts/process-task-source.ps1:3-16.
Important config files
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcoworker/skills/coworker/SKILL.md
Popularity
- Repository stars
- 1,127
- Repository forks
- 150
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Oct 2026, 28 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/platonai/browser4/coworker)