sub-agent
यह क्या करती है
यह स्किल एक कोडिंग काम को अलग कोडिंग असिस्टेंट को सौंपती है, जो बिना बातचीत के पृष्ठभूमि में चलता है। यह उन डेवलपर्स के लिए है जो काम करते रहते हुए चाहते हैं कि कोई फ़ीचर, समीक्षा या रीफ़ैक्टर पूरा हो जाए।
कब इस्तेमाल करें
- ✓जब आप चाहते हों कि कोई फ़ीचर पृष्ठभूमि में दूसरा कोडिंग असिस्टेंट बनाए।
- ✓जब कोड समीक्षा या रीफ़ैक्टर में बहुत सारी फ़ाइलें खंगालनी हों।
- ✓जब आप कोडिंग असिस्टेंट को गैर-इंटरैक्टिव मोड में चलाना चाहते हों, ताकि वह बिना प्रश्नों के पूरा हो जाए।
Skill का लिंक
https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/sub-agent/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप बिलिंग मॉड्यूल का रीफ़ैक्टर पृष्ठभूमि वाले कोडिंग असिस्टेंट को सौंप सकते हैं और बाद में उसकी प्रगति देख सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट चुने गए कोडिंग असिस्टेंट को एक गैर-इंटरैक्टिव कमांड और साफ़ काम के साथ शुरू करता है, फिर पृष्ठभूमि प्रक्रिया पूरी होने तक उसे ट्रैक करता है। वह प्रोसेस टूल्स से प्रगति देखता है और नतीजे इकट्ठा करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Sub-Agent (opensquilla process tools)
Generic "spawn a sub-Agent" entry point for delegating self-contained tasks to Codex / Claude Code / OpenCode / Pi via background process. Use this playbook for self-contained coding and file-editing tasks.
Use OpenSquilla's exec_command and process tools for coding agent work. exec_command starts both short and long commands; use yield_time_ms=0 for a long run and keep the returned execution handle. OpenSquilla does not expose a bash tool; do not use the legacy bash tool-call DSL.
Non-Interactive CLI Mode
OpenSquilla's process tools do not expose a pty parameter. Prefer non-interactive command modes that run and exit cleanly:
# ✅ Correct for Codex/Pi/OpenCode
exec_command(command="codex exec 'Your prompt'")
For Claude Code (claude CLI), use --print --permission-mode bypassPermissions instead.
--dangerously-skip-permissions with PTY can exit after the confirmation dialog.
--print mode keeps full tool access and avoids interactive confirmation:
# ✅ Correct for Claude Code (no PTY needed)
cd /path/to/project && claude --permission-mode bypassPermissions --print 'Your task'
# For background execution: use exec_command(yield_time_ms=0, ...)
# ❌ Wrong for Claude Code
exec_command(command="claude --dangerously-skip-permissions 'task'")
OpenSquilla Tool Parameters
| Tool | Key parameters | Description |
|---|---|---|
exec_command |
command, workdir, timeout, yield_time_ms |
Start a shell command; use yield_time_ms=0 for a long run and keep the returned execution handle. |
process |
action, session_id, data, offset, limit |
Poll, log, write to, or stop a background process. |
Process Tool Actions (for background sessions)
| Action | Description |
|---|---|
list |
List all running/recent sessions |
poll |
Check if session is still running |
log |
Get session output (with optional offset/limit) |
write |
Send raw data to stdin |
submit |
Send data + newline (like typing and pressing Enter) |
eof |
Close stdin |
remove |
Remove a finished session from the process list |
kill |
Terminate the session |
Quick Start: One-Shot Tasks
For quick prompts/chats, create a temp git repo and run:
# Quick chat (Codex needs a git repo!)
SCRATCH=$(mktemp -d) && cd $SCRATCH && git init && codex exec "Your prompt here"
# Or in a real project
exec_command(workdir="~/Projects/myproject", command="codex exec 'Add error handling to the API calls'")
Why git init? Codex refuses to run outside a trusted git directory. Creating a temp repo solves this for scratch work.
The Pattern: workdir + exec_command + process
For longer tasks, use exec_command(yield_time_ms=0, ...):
# Start agent in target directory.
exec_command(yield_time_ms=0, workdir="~/project", command="codex exec --full-auto 'Build a snake game'")
# Returns an execution handle (the current compatibility field is `session_id`)
# Wait for it to finish — blocks until the process exits (or the timeout
# elapses, in which case just call wait again). Prefer this over polling in a
# loop: a looped process(action="poll") burns a full turn + tokens each time.
process(action="wait", session_id="XXX")
# Peek at output without blocking (optional, for progress)
process(action="log", session_id="XXX")
# Send input (if agent asks a question)
process(action="write", session_id="XXX", data="y")
# Submit with Enter (like typing "yes" and pressing Enter)
process(action="submit", session_id="XXX", data="yes")
# Kill if needed
process(action="kill", session_id="XXX")
Why workdir matters: Agent wakes up in a focused directory, doesn't wander off reading unrelated files (like your soul.md 😅).
Codex CLI
Model: gpt-5.2-codex is the default (set in ~/.codex/config.toml)
Flags
| Flag | Effect |
|---|---|
exec "prompt" |
One-shot execution, exits when done |
--full-auto |
Sandboxed but auto-approves in workspa |
अक्सर पूछे जाने वाले सवाल
यह किन असिस्टेंट के साथ काम करती है?
स्किल Codex, Claude Code, OpenCode और Pi का ज़िक्र करती है।
क्या इसके लिए इंटरैक्टिव टर्मिनल चाहिए?
नहीं। स्किल ऐसे गैर-इंटरैक्टिव मोड इस्तेमाल करती है जो चलकर साफ़ तरीके से बंद हो जाते हैं।
क्या यह लंबा काम चला सकती है?
हाँ। यह लंबे समय वाली कमांड शुरू कर सकती है और बाद में जाँचने के लिए उसका हैंडल रख सकती है।
जानकारी
लेखक का मूल विवरण
Delegate a self-contained task to a coding assistant through a non-interactive background process. Use for feature development, code review, refactoring, and tasks requiring substantial file exploration.
repo: TokenRhythm/opensquilla
लोकप्रियता
- GitHub स्टार
- 7.1k
- रैंकिंग में स्थान
- #13593
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
browser-use
7.1kयह आपके एजेंट को OpenSquilla Desktop के साइडबार ब्राउज़र में वेब पेज खोलने, पढ़ने और चलाने देती है, जिसमें फ़ॉर्म और विज़ुअल जाँच शामिल हैं।
deep-research
7.1kयह आपके एजेंट को सहेजी गई योजना, ट्रैक किए गए स्रोतों और उद्धरणों वाली लंबी रिपोर्ट के साथ कई दौर का गहन शोध करना सिखाती है।
docx
7.1kयह आपके एजेंट को Word .docx फ़ाइलें पढ़ने, बदलने या बनाने में मदद करती है, और फ़ॉर्मेटिंग, ट्रैक्ड बदलाव और ढाँचा बना रहता है।
html-coder
7.1kयह आपके एजेंट को सुलभ फ़ॉर्म और HTML5 फ़ीचर वाले साफ़ HTML पेज लिखने और उन्हें वेब प्रीव्यू में खोलने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।