WC

win4r/claude-code-clawdbot-skill

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

123 stars 品質 35 トレンド 16

win4r/claude-code-clawdbot-skill は https://github.com/win4r/claude-code-clawdbot-skill. からインポートされた Agent スキルの候補です

概要

win4r/claude-code-clawdbot-skill は https://github.com/win4r/claude-code-clawdbot-skill. からインポートされた Agent スキルの候補です

概要(AI 翻訳)

[claude] CLI(エージェントSDK)を介してホスト上でClaude Code(Anthropic)を実行するためのClawdbotスキル。

このリポジトリは以下を提供します。

  • [SKILL.md:Clawdbotがこのスキルを使用する方法
  • [scripts/claude_code_run.py:非TTYハングを避けるために擬似ターミナルを介して[[[[T3]を実行する小さなラッパー

なぜラッパー?

Claude コードは TTY がない場合、異なる動作をすることができます。 自動化(例えば、cron/ヘッドレスランナー)では、[[claude -pを掛ける場合があります。 このラッパーは、疑似ターミナルを割り当てる[script -q -c ... /dev/null]を使用します。

要件

  • 同じホストにインストールされたClaudeコード
  • [[claude] 利用可能なバイナリ(既定値: [/home/ubuntu/.local/bin/claude])

チェック:

使用法

基本的なヘッドレス プロンプト:

ツール(割引特典推奨):

構造化された出力:

お問い合わせ

スタッフ

这 这 ** ** ** **

: : : :

  • [[SKILL.md]:クロードボットの使い方のスキル 最近の明
  • [[scripts/claude_code_run.py:[T10]] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . scripts/claude_code_run.py . . . . . . . . . . . . . . . . . . . . .

使用方法

: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

允许工具(建国前限) :

化学品:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

claude-code-clawdbot-skill

A Clawdbot skill to run Claude Code (Anthropic) on the host via the claude CLI (Agent SDK).

This repo provides:

  • SKILL.md: how Clawdbot should use this skill
  • scripts/claude_code_run.py: a small wrapper that runs claude -p ... through a pseudo-terminal to avoid non-TTY hangs

Why a wrapper?

Claude Code can behave differently when there is no TTY. In automation (e.g., cron / headless runners), claude -p may hang. This wrapper uses script -q -c ... /dev/null to allocate a pseudo-terminal.

Requirements

  • Claude Code installed on the same host
  • claude binary available (default expected: /home/ubuntu/.local/bin/claude)

Check:

claude --version

Usage

Basic headless prompt:

./scripts/claude_code_run.py -p "Return only the single word OK." --permission-mode plan

Allow tools (least privilege recommended):

./scripts/claude_code_run.py \
  -p "Run tests and fix failures" \
  --allowedTools "Bash,Read,Edit"

Structured output:

./scripts/claude_code_run.py -p "Summarize this repo" --output-format json

中文说明

这是一个让 Clawdbot 在服务器上通过 Claude Code CLI(claude) 运行任务的 skill。

仓库包含:

  • SKILL.md:给 Clawdbot 用的 skill 说明
  • scripts/claude_code_run.py:对 claude -p 的封装(分配伪终端),用于避免在无 TTY 环境下卡住

使用方法

基础测试:

./scripts/claude_code_run.py -p "Return only the single word OK." --permission-mode plan

允许工具(建议最小权限):

./scripts/claude_code_run.py \
  -p "运行测试并修复失败" \
  --allowedTools "Bash,Read,Edit"

结构化输出:

./scripts/claude_code_run.py -p "总结这个仓库" --output-format json
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add win4r/claude-code-clawdbot-skill
MCP 初心者?mcpskill.org のガイドから始めましょう →