본문으로 건너뛰기
cccskills
무료GitHub에 공개

omega-claude-cli

Shell out to Claude Code CLI to invoke a second Claude session headlessly. Useful for cross-validation, second opinions, and isolated analysis without sharing current agent context. Requires Anthropic account.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(14)

  • SKILL.md4.3 KB
  • commands/omega-claude-cli.md116 B
  • hooks/post-execute.cjs310 B
  • hooks/pre-execute.cjs427 B
  • references/research-requirements.md492 B
  • rules/omega-claude-cli.md667 B
  • schemas/input.schema.json680 B
  • schemas/output.schema.json260 B
  • scripts/ask-claude.mjs7.9 KB
  • scripts/format-output.mjs1000 B
  • scripts/main.cjs1.2 KB
  • scripts/parse-args.mjs2.5 KB
  • scripts/verify-setup.mjs1.8 KB
  • templates/implementation-template.md190 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Claude CLI Skill

Headless wrapper for Claude Code CLI. Invokes a separate Claude session via claude -p "PROMPT" --dangerously-skip-permissions. Provides isolated second opinions without sharing the current agent's context window.

When to Use

  • Second-opinion validation (isolated Claude session without shared context)
  • Cross-validation of current agent's reasoning
  • Delegated deep analysis that should not consume current context window
  • Multi-LLM consultation workflows (as one of the participating models)
  • Chairman synthesis in llm-council workflows

Usage

Ask a question

node .claude/skills/omega-claude-cli/scripts/ask-claude.mjs "What are the security implications of this auth design?"

Specify model

node .claude/skills/omega-claude-cli/scripts/ask-claude.mjs "Review this code" --model sonnet

JSON output (with text stripping)

node .claude/skills/omega-claude-cli/scripts/ask-claude.mjs "Analyze dependencies" --json

With timeout

node .claude/skills/omega-claude-cli/scripts/ask-claude.mjs "Deep security review of auth.ts" --timeout-ms 300000

Availability Check

node .claude/skills/omega-claude-cli/scripts/verify-setup.mjs
# Exit 0 = available (CLI found)
# Exit 1 = not available

Scripts

ScriptPurpose
ask-claude.mjsCore headless wrapper — prompt as positional arg to -p
parse-args.mjsArgument parser (--model, --json, --sandbox, --timeout-ms)
verify-setup.mjsAvailability check with npx fallback
format-output.mjsOutput normalization with extractJsonResponse()

Flags

FlagDescription
--model MODELopus (Opus 4.6), sonnet (4.5), haiku (4.5), or full model ID
--jsonJSON output (strips conversational text via extractJsonResponse)
--sandboxCode execution sandbox mode
--timeout-ms NTimeout in milliseconds (exit code 124 on expiry)

Exit Codes

CodeMeaning
0Success
1Error (CLI failure, auth issue)
124Timeout (--timeout-ms exceeded)

Anti-Patterns & Iron Laws

  1. ALWAYS use --dangerously-skip-permissions for headless mode (built into wrapper)
  2. NEVER expect to share context between this CLI session and the current agent
  3. ALWAYS use format-output.mjs to strip conversational text wrapping from JSON
  4. ALWAYS set --timeout-ms for production usage
  5. NEVER invoke on security-critical tasks without acknowledging the risk

Integration Notes

  • Auth: Claude Code subscription or ANTHROPIC_API_KEY env var
  • Models: opus, sonnet, haiku, or full model IDs
  • Security: --dangerously-skip-permissions allows all tool execution; intended for trusted automation only
  • Platform: Full cross-platform (Windows uses cmd.exe /d /s /c wrapper)

Memory Protocol

Before work: Read .claude/context/memory/learnings.md After work: Append findings to learnings or issues as needed.

Note: Use pnpm search:code to discover references to this skill codebase-wide.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio432026년 7월 14일 업데이트

Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio432026년 7월 14일 업데이트

N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio432026년 7월 14일 업데이트

Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio432026년 7월 14일 업데이트

Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio432026년 7월 14일 업데이트

LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio432026년 7월 14일 업데이트

oimiragieo의 스킬 모두 보기

이 스킬의 문제 신고