All skills

Управление сессиями AI агентов через agent-deck CLI. Триггеры (RU): "запусти агента", "запусти саб-агента", "создай сессию", "проверь сессию", "проверь статус", "покажи вывод агента", "что агент ответил". Triggers (EN): "launch sub-agent", "create sub-agent", "start session", "check session", "show agent output".

Use this Skill: https://skilld.dev/gh/artwist-polyakov/polyakov-claude-skills/agent-deck

This session only. Nothing lands on disk.

referencesautomation-patterns.md

≈419 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Automation Patterns

Sub-Agent Script (Primary)

# Fire and forget (recommended)
scripts/launch-subagent.sh "Research" "Find info about X" --mcp exa

# With blocking wait
scripts/launch-subagent.sh "Query" "Answer Y" --wait --timeout 120

# Multiple MCPs
scripts/launch-subagent.sh "Deep Research" "Analyze Z" --mcp exa --mcp firecrawl

Manual Sub-Agent Pattern

When script unavailable:

PARENT=$(agent-deck session current -q)
PROFILE=$(agent-deck session current --json | jq -r '.profile')

agent-deck -p "$PROFILE" add -t "Task" --parent "$PARENT" -c claude /tmp/task
agent-deck -p "$PROFILE" session start "Task"
sleep 10  # Wait for Claude readiness
agent-deck -p "$PROFILE" session send "Task" "Your prompt"

Check Output

# Check status
agent-deck session show "Task" | grep Status

# Get response when waiting (◐)
agent-deck session output "Task"

Batch Operations

# Start multiple sessions
for name in api frontend backend; do
  agent-deck session start "$name"
done

# Attach MCPs to multiple sessions
for session in proj1 proj2; do
  agent-deck mcp attach "$session" exa
  agent-deck session restart "$session"
done

JSON Scripting

# Get all waiting sessions
agent-deck list --json | jq -r '.[] | select(.status == "waiting") | .title'

# Count by status
agent-deck status --json | jq '.running, .waiting, .idle'

Warnings

  1. Avoid external polling agents - They can send messages that interfere with target sessions
  2. Use on-demand checks - Let user request output when ready
  3. Flags before arguments - session show --json name not session show name --json

Source: SKILL.md on GitHub

2 warnings17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill provides comprehensive documentation and an automation script for managing AI agent sessions using the agent-deck CLI. It follows good security practices in its helper scripts, such as title sanitization and safe shell argument handling. While it facilitates the execution of external tools (MCP servers) and sub-agents, these are standard functionalities of the orchestration tool it supports.

  • Socket17d

    1 alert: gptAnomaly

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    9/9 files flagged

Signed by skilld at 61971ba. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 9 months ago

README badge

README badge for artwist-polyakov/polyakov-claude-skills/agent-deck