sol-luna-local-parallel
Skill1 starsChanged 53 days agoMITView on GitHub
Use when a Sol-led Codex desktop task contains two or more independent implementation units with non-overlapping write scopes, or when the user asks to delegate or parallelize work to Luna.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Fable-Forge/sol-luna-local-paralleledited, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Fable-Forge/sol-luna-local-parallel★ 231% same
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 repository20 other files it gives its agents.
- llms.txtllms.txt
- agent-skill-migrationSkill
- agents-md-verification-mapSkill
- cocos-creator-mobile-gameSkill
- game-entity-movement-presentationSkill
- game-event-directorSkill
- game-ui-panelsSkill
- godot-narrative-workflowSkill
- narrative-game-prototype-plannerSkill
- obsidian-article-writebackSkill
- offline-ux-kitSkill
- product-image-prompt-iterationSkill
- product-teardownSkill
- reporting-disciplineSkill
- scene-anchor-systemSkill
- screen2layersSkill
- sprite-atlas-slicerSkill
- unfinished-work-auditSkill
- windows-ai-cli-recoverySkill
- xiaohongshu-copywriterSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create user-visible Luna desktop tasks in the same saved local project.
- Very specific: line 12
Never substitute internal spawn_agent workers when the user asks for Luna.
- Distinctive: line 23
Keep shared interfaces, entry points, project configuration, lock files, generated indexes, and cross-task integration with Sol.
- Very specific: line 27
Before creation, make a private table with task, allowed_write_paths, shared_read_only_paths, validation, and depends_on.
- Distinctive: line 31
Use 2-3 concurrent Luna tasks.
- Distinctive: line 36
Create one task per ownership row with:
- Very specific: line 45
Do not use worktree, startingState, branch creation, commits, stashes, or merges.
- Very specific: line 63
Wait on all created threads with wait_threads.
- Distinctive: line 64
Read a task when it completes or needs attention.
- Very specific: line 65
Never use the CLI Stop Hook or .codex-worker.json to determine desktop-task completion.
- Distinctive: line 66
If a Luna needs another task's path, stop that task.
- Distinctive: line 67
After all tasks report completion, compare the current workspace against the pre-dispatch baseline.
- Distinctive: line 94
Stop and correct the dispatch if any of these appear:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Sol to Luna Local Parallel
Overview
Create user-visible Luna desktop tasks in the same saved local project. Sol owns decomposition, conflict prevention, tracking, and final acceptance.
Never substitute internal spawn_agent workers when the user asks for Luna. Never create a branch or worktree for this workflow.
Dispatch Gate
Dispatch only when all conditions hold:
- The user has authorized independent Luna tasks. A standing user preference in global instructions counts.
- At least two tasks have disjoint write sets and no sequential dependency.
- The current saved project can be matched unambiguously by path through the project list.
- Each task has a precise goal, allowed write paths, validation command, and completion report.
Keep shared interfaces, entry points, project configuration, lock files, generated indexes, and cross-task integration with Sol. If only one safe task remains, do not create parallel Luna tasks.
Build the Ownership Table
Before creation, make a private table with task, allowed_write_paths, shared_read_only_paths, validation, and depends_on.
Reject parallel dispatch if any two allowed write sets overlap, one task produces input required by another, or both can write the same generated, cache, or configuration file. Existing dirty files are read-only unless explicitly assigned.
Use 2-3 concurrent Luna tasks. Do not exceed 3.
Create Desktop Tasks
- List Codex projects and match the current saved project path exactly.
- Create one task per ownership row with:
model: gpt-5.6-lunathinking: xhightarget.type: project- the matched
projectId target.environment.type: local
- Record each returned
threadIdandhostId. Never pass aclientThreadIdto thread tools; resolve the ready thread through the task list if creation is still pending. - Emit the created-task directive required by the desktop app when reporting created tasks.
Do not use worktree, startingState, branch creation, commits, stashes, or merges.
Luna Prompt Contract
你是独立 Luna 实现任务,直接工作在现有项目目录。
目标:<one goal>
允许写入:<exclusive path list>
只读上下文:<shared paths if needed>
禁止写入:允许清单之外的所有文件、其他 Luna 的范围、共享入口和配置。
禁止:创建分支、创建 worktree、stash、commit、merge、全仓格式化。
验证:<exact scoped command>
如果必须越界,停止修改并报告所需路径、原因和当前状态。
完成后报告:修改文件、验证命令及结果、遗留风险或阻塞。Track and Accept
- Wait on all created threads with
wait_threads; carry forward each cursor and do not treat commentary or timeout as completion. - Read a task when it completes or needs attention. Send follow-up to the same thread for in-scope corrections.
- Never use the CLI Stop Hook or
.codex-worker.jsonto determine desktop-task completion. - If a Luna needs another task's path, stop that task. Reassign only after the conflicting owner completes, or keep the shared change with Sol.
- After all tasks report completion, compare the current workspace against the pre-dispatch baseline. Changed paths must be a subset of the union of assigned paths plus explicit Sol-owned integration paths.
- Review actual changes and run the combined project verification. Luna reports and scoped tests are evidence, not final acceptance.
- Report partial completion honestly if any thread is blocked, pending approval, or fails combined verification.
Quick Reference
| Decision | Required action |
| Two disjoint write sets | Create two local Luna desktop tasks |
| Overlapping or shared file | Keep with Sol or run serially |
| Git project | Still use environment: local |
| Need a true Luna | Set model: gpt-5.6-luna; do not use internal subagent tools |
| Luna stops talking | Check thread state; do not infer completion from Stop Hook |
| Scoped tests pass | Sol still runs combined verification |
Common Mistakes
| Mistake | Correction |
| Assuming a Git repository requires a worktree | The user's standing preference requires the saved project's local environment. |
| Calling an internal subagent "Luna" | Internal tools cannot guarantee the requested model or create a sidebar task. |
| Giving every Luna the full repository | Give an exclusive write allowlist and make everything else read-only. |
| Running shared integration tests concurrently | Let Luna run scoped checks; Sol runs the combined suite after delivery. |
| Treating delivery as acceptance | Sol reviews the workspace and verifies the integrated result. |
Red Flags
Stop and correct the dispatch if any of these appear:
environment.typeisworktree.- A branch, commit, stash, or merge is proposed.
- Two Luna prompts contain an overlapping allowed path.
- A prompt lacks exact allowed paths or validation.
- More than three Luna tasks are active for one batch.
spawn_agentis being used as a substitute for an explicitly requested Luna.- Sol is about to finish before all thread states and combined verification are checked.
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
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.

