dancingteeth/agent-looper/run-loop-in-dsh
Claude Code and agent skill by dancingteeth/agent-looper
- community
Checking that the SKILL.md file is still in the repository.
After a loop is frozen, start agent-loop as DSH background bash. Use when the user asks to grind from dsh web. Do not foreground-bash the grind.
Install
npx vskill@latest install dancingteeth/agent-looper/run-loop-in-dshSKILL.md
The same SKILL.md was published earlier as dancingteeth/agent-looper/run-loop-in-dsh.
Run Agent Looper from DSH
This chat designs and freezes, then starts the harness as a background job. It is not the implementer (that is runtime in loop.json — often dsh headless).
Finish line
Shell verify via @dancingteeth/agent-looper. DSH /loop and /goal are a different product.
Do this here
- Confirm the bundle is frozen at
.cursor/loops/<name>/(GOAL.md,verify.sh,loop.json). - Confirm
pnpm exec agent-loop --helpworks (elseinstall-agent-looper). - Start one grind with bash `run_in_background: true` (required). Foreground bash times out (~60s).
- Tell the user the job id. Use
job_outputwhen you need logs;job_killto stop. Do not busy-poll. - Do not start a second
agent-loop runwhile one isrunning. Checkjob_listfirst.
Example bash call (schema fields, not a host terminal):
From this repo checkout, node dist/cli/run.js .cursor/loops/<name> is equivalent if bins are missing — still `run_in_background: true` (foreground of that argv is also blocked).
If Doppler wraps the CLI and the directory is not scoped:
Prefer runtime: dsh in loop.json so the worker is headless DSH (this session’s DeepSeek credits / credentials-local). Unset reviewRuntime still judges on Cursor unless you set "reviewRuntime": "dsh". Do not set runtime: opencode + opencode-go/… — that model is DSH-private and standalone OpenCode cannot load it.
From `dsh web`, nested headless writes ~/.dsh/profiles/headless/cordis.yml (outside the workspace). Do not start the grind on workspace-write. Either:
- Ask the human to switch the session permission to Full Access, then start the grind, or
- Start the grind bash on the first call with
sandbox_permissions: danger-full-accessand a one-sentence justification (headless must write that profile).
Example (schema fields, not a host terminal):
If the first attempt already failed with EPERM on cordis.yml or [sandbox: file access denied], retry once the same way. Do not grep credentials files. Host-terminal grinds do not need this switch.
Do not do this here
- Foreground
agent-loop run/pnpm run agent:loop/node dist/cli/run.js <loop-dir>(the companion guard blocks it) - Implement the product yourself
- Dump Doppler YAML,
doppler secrets, DSH~/.dsh/.credentials.yaml, or OpenCodeauth.json - SSH-enumerate or rsync “so the worker has context” — put paths in GOAL.md
- Repair dangling
~/.agents/skills/*/SKILL.mdfrom this chat — OpenCode boot auto-heals Cursor plugin-cache hash rotations (relink or drop)
Session caveat
Closing this DSH session cancels owned background jobs. Restarting dsh web drops in-memory jobs. Say that if the user is about to close the tab.
Security
- Security scanPassed, 90 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 repositoryCheckingplugins/dsh-agent-looper/skills/run-loop-in-dsh/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/dancingteeth/agent-looper/run-loop-in-dsh)