मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट7.1k · #13593

sub-agent

यह क्या करती है

यह स्किल एक कोडिंग काम को अलग कोडिंग असिस्टेंट को सौंपती है, जो बिना बातचीत के पृष्ठभूमि में चलता है। यह उन डेवलपर्स के लिए है जो काम करते रहते हुए चाहते हैं कि कोई फ़ीचर, समीक्षा या रीफ़ैक्टर पूरा हो जाए।

कब इस्तेमाल करें

  • ✓जब आप चाहते हों कि कोई फ़ीचर पृष्ठभूमि में दूसरा कोडिंग असिस्टेंट बनाए।
  • ✓जब कोड समीक्षा या रीफ़ैक्टर में बहुत सारी फ़ाइलें खंगालनी हों।
  • ✓जब आप कोडिंग असिस्टेंट को गैर-इंटरैक्टिव मोड में चलाना चाहते हों, ताकि वह बिना प्रश्नों के पूरा हो जाए।

Skill का लिंक

https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/sub-agent/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/sub-agent/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

browser-use

7.1k

यह आपके एजेंट को OpenSquilla Desktop के साइडबार ब्राउज़र में वेब पेज खोलने, पढ़ने और चलाने देती है, जिसमें फ़ॉर्म और विज़ुअल जाँच शामिल हैं।

प्रोडक्टिविटीऑटोमेशन

deep-research

7.1k

यह आपके एजेंट को सहेजी गई योजना, ट्रैक किए गए स्रोतों और उद्धरणों वाली लंबी रिपोर्ट के साथ कई दौर का गहन शोध करना सिखाती है।

लेखन और डॉक्यूमेंटरिसर्च

docx

7.1k

यह आपके एजेंट को Word .docx फ़ाइलें पढ़ने, बदलने या बनाने में मदद करती है, और फ़ॉर्मेटिंग, ट्रैक्ड बदलाव और ढाँचा बना रहता है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

html-coder

7.1k

यह आपके एजेंट को सुलभ फ़ॉर्म और HTML5 फ़ीचर वाले साफ़ HTML पेज लिखने और उन्हें वेब प्रीव्यू में खोलने में मदद करती है।

कोडिंगवेबसाइट और UI (frontend)

मिलती-जुलती skills