System prompt sync
Merged opencode config + agents + accomplishments showcase — 217 skills, 17 agent profiles, 6 MCP servers, 78-server registry
npx -y skills add marktantongco/opencodelinux --skill system-prompt-syncAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Automatically syncs the system prompt (AGENTS.md) across all git repositories when a new version tag is created. Use to eliminate manual prompt propagation after updates.
SKILL.md
2.3 KB, 563 tokens by cl100k_base, as published. Nobody here has run it
context: Automatically sync the system prompt (AGENTS.md) across all git repositories on the system when a new version tag (prompt-v*) is created. Use this skill to eliminate manual prompt propagation after updates.
instructions:
- Monitor /home/hive/workspace for new git tags matching
prompt-v* - When a new tag is detected, checkout the tagged AGENTS.md:
git -C /home/hive/workspace show <tag>:AGENTS.md > /tmp/new-prompt.md - Find all git repos:
find /home/hive -name .git -type d 2>/dev/null | sed 's|/.git||' - Copy /tmp/new-prompt.md to each repo root as AGENTS.md
- Copy /home/hive/workspace/skills/dashboard.html to each repo root as dashboard.html
- For each repo with changes:
cd <repo> && OPENCODE_YOLO=true git add AGENTS.md dashboard.html && OPENCODE_YOLO=true git commit -m "Sync system prompt <tag>" - Optional push (only if yolo mode confirmed):
OPENCODE_YOLO=true git push
constraints:
- Never modify non-git directories
- Never overwrite files other than AGENTS.md
- Never push to remote repos unless explicitly confirmed or yolo mode active
- Never delete existing files in target repos
- Always verify repo has changes before committing (avoid empty commits)
examples:
- Trigger: New tag
prompt-v2.1created Action: Copies updated AGENTS.md to all 15 detected git repos, commits changes locally with YOLO mode enabled - Trigger:
prompt-v3.0tagged with yolo mode confirmed Action: Copies prompt, commits AND pushes to all repos automatically using OPENCODE_YOLO=true
cron:
- Schedule: Daily at 2 AM (
0 2 * * *) - Command:
cd /workspace/skills/system-prompt-sync && bash startup-check.sh | grep -q "mismatch" && git -C /home/hive/workspace tag -l "prompt-v*" | tail -1 | xargs -I {} git -C /home/hive/workspace show {}:AGENTS.md > /tmp/latest-prompt.md && for repo in $(find /home/hive -name .git -type d | sed 's|/.git||'); do cp /tmp/latest-prompt.md "$repo/AGENTS.md" && cd "$repo" && OPENCODE_YOLO=true git add AGENTS.md && OPENCODE_YOLO=true git commit -m "Nightly prompt sync" || true; done - Log output to:
/workspace/worklog.md