Crawler Summary

claude-cli answer-first brief

Invoke Claude Code CLI directly with prompts using non-interactive mode --- name: claude-cli description: Invoke Claude Code CLI directly with prompts using non-interactive mode --- Claude CLI Skill This skill enables you to invoke the Claude Code CLI directly with prompts in non-interactive mode, bypassing the workspace trust dialog. Overview The Claude Code CLI can be invoked in non-interactive mode using the -p or --print flag, which prints the response and exits. This is particularly Capability contract not published. No trust telemetry is available yet. Last updated 4/14/2026.

Freshness

Last checked 4/14/2026

Best For

claude-cli is best for be workflows where MCP and OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 94/100

claude-cli

Invoke Claude Code CLI directly with prompts using non-interactive mode --- name: claude-cli description: Invoke Claude Code CLI directly with prompts using non-interactive mode --- Claude CLI Skill This skill enables you to invoke the Claude Code CLI directly with prompts in non-interactive mode, bypassing the workspace trust dialog. Overview The Claude Code CLI can be invoked in non-interactive mode using the -p or --print flag, which prints the response and exits. This is particularly

MCPself-declared
OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Apr 14, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 4/14/2026.

Trust evidence available

Trust score

Unknown

Compatibility

MCP, OpenClaw

Freshness

Apr 14, 2026

Vendor

Jeffpignataro

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 4/14/2026.

Setup snapshot

git clone https://github.com/jeffpignataro/claude-oauth-skill.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Jeffpignataro

profilemedium
Observed Apr 14, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

MCP, OpenClaw

contractmedium
Observed Apr 14, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

# Example OpenClaw tool call
bash pty:true command:"claude -p 'Your prompt'"

bash

mkdir -p .claude
cat > .claude/settings.json << 'EOF'
{
  "permissions": {
    "allow": [
      "Read", "Write", "Edit",
      "Bash(cargo*)", "Bash(rustc*)",
      "Bash(npm*)", "Bash(pnpm*)", "Bash(bun*)", "Bash(node*)",
      "Bash(python*)", "Bash(pip*)", "Bash(go*)"
    ]
  }
}
EOF

bash

claude -p "<prompt>"

bash

claude -p "What is the capital of France?"

bash

claude -p "Analyze the code in main.py and suggest improvements"

bash

claude -p --model opus "Explain quantum computing in simple terms"

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Invoke Claude Code CLI directly with prompts using non-interactive mode --- name: claude-cli description: Invoke Claude Code CLI directly with prompts using non-interactive mode --- Claude CLI Skill This skill enables you to invoke the Claude Code CLI directly with prompts in non-interactive mode, bypassing the workspace trust dialog. Overview The Claude Code CLI can be invoked in non-interactive mode using the -p or --print flag, which prints the response and exits. This is particularly

Full README

name: claude-cli description: Invoke Claude Code CLI directly with prompts using non-interactive mode

Claude CLI Skill

This skill enables you to invoke the Claude Code CLI directly with prompts in non-interactive mode, bypassing the workspace trust dialog.

Overview

The Claude Code CLI can be invoked in non-interactive mode using the -p or --print flag, which prints the response and exits. This is particularly useful for:

  • Scripting and automation
  • Piping output to other commands
  • Quick one-off queries
  • Integration with other tools

Important Security Note: The -p flag automatically bypasses the workspace trust dialog. Only use this in directories you trust.

OpenClaw Execution

When calling this skill from an OpenClaw agent, ALWAYS use pty:true to ensure the terminal output is handled correctly.

# Example OpenClaw tool call
bash pty:true command:"claude -p 'Your prompt'"

Automated Permission Approval

When using this skill for complex automation (e.g., orchestrating other Claude agents), you may encounter permission prompts that block the non-interactive flow. To pre-approve specific tools and commands in a project directory, create a .claude/settings.json file.

Common Language Permissions

Add these to the allow array based on the project's tech stack:

  • General: Read, Write, Edit, Bash(*)
  • Rust: Bash(cargo*), Bash(rustc*)
  • Node/JS: Bash(npm*), Bash(pnpm*), Bash(bun*), Bash(node*)
  • Python: Bash(python*), Bash(pip*), Bash(pytest*), Bash(poetry*)
  • Go: Bash(go*)

Example for a multi-stack project:

mkdir -p .claude
cat > .claude/settings.json << 'EOF'
{
  "permissions": {
    "allow": [
      "Read", "Write", "Edit",
      "Bash(cargo*)", "Bash(rustc*)",
      "Bash(npm*)", "Bash(pnpm*)", "Bash(bun*)", "Bash(node*)",
      "Bash(python*)", "Bash(pip*)", "Bash(go*)"
    ]
  }
}
EOF

Troubleshooting & Unblocking Sub-agents

If an orchestrator agent spawns a background sub-agent that seems stuck:

  1. Check the Logs: Use process action:log sessionId:XXX to look for errors like "blocked on permissions", "Not logged in", or "Please run /login".
  2. Inject Permissions: If blocked on tools, use mkdir -p .claude and write the settings.json file as shown above.
  3. Verify Auth: If "Not logged in", the human must run claude /login in a terminal once.
  4. Restart: After fixing permissions/auth, the orchestrator should restart the sub-agent task.

Usage

Basic Syntax

claude -p "<prompt>"

Key Flags

  • -p, --print: Print response and exit (non-interactive mode). This automatically skips the workspace trust dialog.
  • --model <model>: Specify a model (e.g., 'sonnet', 'opus', or full model name)
  • --output-format <format>: Output format - "text" (default), "json", or "stream-json"
  • --max-budget-usd <amount>: Set maximum spending limit for API calls
  • --session-id <uuid>: Use a specific session ID
  • --system-prompt <prompt>: Override the system prompt
  • --tools <tools>: Specify available tools (e.g., "Bash,Edit,Read" or "" to disable all)

Examples

Simple Query

claude -p "What is the capital of France?"

Code Analysis

claude -p "Analyze the code in main.py and suggest improvements"

With Model Selection

claude -p --model opus "Explain quantum computing in simple terms"

JSON Output

claude -p --output-format json "List the top 3 programming languages"

With Budget Limit

claude -p --max-budget-usd 0.50 "Generate a Python script to parse CSV files"

Disable All Tools (API-only mode)

claude -p --tools "" "Explain the concept of recursion"

With Custom System Prompt

claude -p --system-prompt "You are a code reviewer" "Review this function for security issues"

Integration Patterns

Piping Output

claude -p "Generate a bash script to backup files" > backup.sh
chmod +x backup.sh

Chaining Commands

result=$(claude -p "What is 2+2?")
echo "Claude says: $result"

Processing Files

for file in *.py; do
  claude -p "Summarize this Python file: $file"
done

When to Use This Skill

Use this skill when you need to:

  1. Automate Claude interactions - Scripts, CI/CD pipelines, or automated workflows
  2. Get quick answers - One-off queries without starting an interactive session
  3. Process output programmatically - Pipe to files, parse JSON, or chain with other commands
  4. Bypass trust prompts - Work in trusted directories without manual confirmation
  5. Integrate with other tools - Combine Claude with existing command-line workflows

Security Considerations

⚠️ Warning: The -p flag bypasses the workspace trust dialog. This means:

  • Claude will have access to tools without prompting for permission
  • Only use this in directories you trust
  • Be cautious when running in directories with sensitive data
  • Consider using --tools "" to disable all tools if you only need text generation

Advanced Usage

Streaming JSON Output

claude -p --output-format stream-json "Explain machine learning" | jq -r '.content'

Fallback Model (when primary is overloaded)

claude -p --fallback-model haiku "Quick question about Python syntax"

With MCP Servers

claude -p --mcp-config ./mcp-config.json "Query the database for user stats"

Structured Output with JSON Schema

claude -p --json-schema '{"type":"object","properties":{"name":{"type":"string"},"age":{"type":"number"}},"required":["name","age"]}' "Extract person info: John is 30 years old"

Tips and Best Practices

  1. Quote your prompts: Always use quotes around prompts to handle spaces and special characters
  2. Use specific models: Specify --model for consistent behavior (e.g., --model sonnet for faster responses)
  3. Set budget limits: Use --max-budget-usd to prevent unexpected API costs
  4. Disable tools when not needed: Use --tools "" for pure text generation to improve speed and reduce costs
  5. Capture output: Redirect output to files or variables for further processing
  6. Check exit codes: The command returns 0 on success, non-zero on errors

Troubleshooting

Command not found

Ensure Claude CLI is installed and in your PATH:

which claude

Permission errors

Make sure you're in a directory you trust, or the -p flag won't help with file access permissions.

API rate limits

Use --max-budget-usd to control spending, or wait if you hit rate limits.

Related Commands

  • claude --help: View all available options
  • claude --version: Check installed version
  • claude doctor: Check CLI health and configuration
  • claude setup-token: Configure authentication

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

MCP: self-declaredOpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/snapshot"
curl -s "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/contract"
curl -s "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITLAB_AI_CATALOGgitlab-mcp

Rank

83

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_PUBLIC_PROJECTSgitlab-mcp

Rank

80

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-openapi

Rank

74

Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-actix-web

Rank

72

An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP",
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-16T23:42:32.413Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "be",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:MCP|unknown|profile protocol:OPENCLEW|unknown|profile capability:be|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Jeffpignataro",
    "href": "https://github.com/jeffpignataro/claude-oauth-skill",
    "sourceUrl": "https://github.com/jeffpignataro/claude-oauth-skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-14T22:23:45.764Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP, OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-14T22:23:45.764Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/jeffpignataro-claude-oauth-skill/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to claude-cli and adjacent AI workflows.