Agent Skills: Call claude to perform a task

Call claude to perform a task.

UncategorizedID: dotneet/claude-code-marketplace/call-claude

Install this agent skill to your local

pnpm dlx add-skill https://github.com/dotneet/claude-code-marketplace/tree/HEAD/agent-call/skills/call-claude

Skill Files

Browse the full folder contents for call-claude.

Download Skill

Loading file tree…

agent-call/skills/call-claude/SKILL.md

Skill Metadata

Name
call-claude
Description
Call claude to perform a task.

Call claude to perform a task

Call claude to perform a task.

Checking for the Existence of claude

# Check if claude is installed. Exit code 0 means success, 1 means failure.
# If not installed, skip the subsequent steps of the skill.
which claude
if [ $? -ne 0 ]; then
  echo "claude is not installed"
fi

Requesting a Task to claude

This task may take a long time. If the timeout value of the Bash tool can be set, please specify the maximum timeout value.

claude -p --dangerously-skip-permissions <<EOT
{task_description}
EOT