Rank
70
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Traction
No public download signal
Freshness
Updated 2d ago
Crawler Summary
Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when building any Go CLI that wraps external APIs, designing CLI command hierarchies, implementing OAuth2 flows for CLI tools, or when the user mentions "cli-development", "CLI architecture", or "API wrapper CLI". Inspired by gogcli by Peter Steinberger (https://github.com/steipete/gogcli). --- name: cli-development description: > Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when bui Published capability contract available. No trust telemetry is available yet. Last updated 3/1/2026.
Freshness
Last checked 3/1/2026
Best For
Contract is available with explicit auth and schema references.
Not Ideal For
cli-development is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.
Evidence Sources Checked
editorial-content, capability-contract, runtime-metrics, public facts pack
Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when building any Go CLI that wraps external APIs, designing CLI command hierarchies, implementing OAuth2 flows for CLI tools, or when the user mentions "cli-development", "CLI architecture", or "API wrapper CLI". Inspired by gogcli by Peter Steinberger (https://github.com/steipete/gogcli). --- name: cli-development description: > Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when bui
Public facts
6
Change events
1
Artifacts
0
Freshness
Mar 1, 2026
Published capability contract available. No trust telemetry is available yet. Last updated 3/1/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
Mar 1, 2026
Vendor
Oss Skills
Artifacts
0
Benchmarks
0
Last release
Unpublished
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Published capability contract available. No trust telemetry is available yet. Last updated 3/1/2026.
Setup snapshot
git clone https://github.com/oss-skills/cli-development.gitSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
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.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Oss Skills
Protocol compatibility
OpenClaw
Auth modes
api_key, oauth
Machine-readable schemas
OpenAPI or schema references published
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
Parameters
text
cmd/<binary>/main.go # Minimal: cmd.Execute(os.Args[1:])
internal/
cmd/ # Kong command structs + Run() methods
root.go # CLI struct, RootFlags, Execute(), parser setup
exit_codes.go # Stable exit code constants
<service>.go # One file per service (admin.go, mail.go)
<api>/ # API client wrappers per service
auth/ # OAuth2 flow, token management, scope registry
config/ # XDG config, JSON5, account/client mappings
secrets/ # Keyring abstraction (OS keychain + file fallback)
outfmt/ # Output formatting (JSON/plain/rich modes)
ui/ # Terminal colors, printers (via context)
errfmt/ # Error formatting, typed errorsgo
type RateLimitError struct { RetryAfter time.Duration; Attempt int }
type AuthRequiredError struct { Service, Account string; Cause error }
type NotFoundError struct { ResourceID string }
func IsRateLimitError(err error) bool { ... } // uses errors.Asbash
curl -s -H "Authorization: Bearer $TOKEN" "$API_URL/endpoint" \
bash
# Probe pattern: dump raw response and inspect field types
TOKEN="..."
curl -s -H "Authorization: Bearer $TOKEN" "$API_URL/endpoint" \
| python3 -c "
import sys, json
data = json.load(sys.stdin)
for k, v in sorted(data.items()):
print(f'{k} ({type(v).__name__}): {repr(v)[:100]}')
"go
// BAD: trusting docs that say "integer"
type Message struct {
ReceivedTime int64 `json:"receivedTime"`
HasAttachment bool `json:"hasAttachment"`
Priority int `json:"priority"`
}
// GOOD: using string for fields that might be quoted
type Message struct {
ReceivedTime string `json:"receivedTime"` // "1771122930710"
HasAttachment string `json:"hasAttachment"` // "0" or "1"
Priority string `json:"priority"` // "3"
}
// Parse in the CLI display layer, not the API typesgo
// BAD: only checking HTTP status
if resp.StatusCode != http.StatusOK {
return nil, fmt.Errorf("HTTP %d", resp.StatusCode)
}
json.NewDecoder(resp.Body).Decode(&tokenResp) // may have empty access_token
// GOOD: parse first, then check for errors
json.NewDecoder(resp.Body).Decode(&tokenResp)
if tokenResp.Error != "" {
return nil, fmt.Errorf("token error: %s", tokenResp.Error)
}
if tokenResp.AccessToken == "" {
return nil, fmt.Errorf("empty access token in response")
}Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when building any Go CLI that wraps external APIs, designing CLI command hierarchies, implementing OAuth2 flows for CLI tools, or when the user mentions "cli-development", "CLI architecture", or "API wrapper CLI". Inspired by gogcli by Peter Steinberger (https://github.com/steipete/gogcli). --- name: cli-development description: > Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when bui
Production-grade patterns for building Go CLI tools that wrap REST APIs. Distilled from gogcli by Peter Steinberger.
cmd/<binary>/main.go # Minimal: cmd.Execute(os.Args[1:])
internal/
cmd/ # Kong command structs + Run() methods
root.go # CLI struct, RootFlags, Execute(), parser setup
exit_codes.go # Stable exit code constants
<service>.go # One file per service (admin.go, mail.go)
<api>/ # API client wrappers per service
auth/ # OAuth2 flow, token management, scope registry
config/ # XDG config, JSON5, account/client mappings
secrets/ # Keyring abstraction (OS keychain + file fallback)
outfmt/ # Output formatting (JSON/plain/rich modes)
ui/ # Terminal colors, printers (via context)
errfmt/ # Error formatting, typed errors
Each layer depends only on layers below it. Commands never import other commands.
Use struct tags for the entire command tree. See ./references/kong-patterns.md for detailed examples.
Key patterns:
group:"read", group:"write")hidden:"" — functional but not cluttering default helpRun(ctx context.Context, flags *RootFlags) errorRootFlags struct embedded at root levelMaintain two routes to every common action:
| Canonical (discoverable) | Shortcut (fast) |
|--------------------------|-----------------|
| cli mail send | cli send |
| cli drive ls | cli ls |
| cli auth login | cli login |
Shortcuts are hidden from default help. Reveal with env var (e.g., CLI_HELP=full).
| Mode | Flag | Target | Format |
|------|------|--------|--------|
| Rich | default | Interactive TTY | Colored tables, hints on stderr |
| Plain | --plain | Piping | TSV, no colors |
| JSON | --json | Scripting/agents | Structured JSON to stdout |
Store mode in context.Context, retrieve via outfmt.FromContext(ctx).
Auto-detect TTY for colors. Respect NO_COLOR env. Use muesli/termenv.
Essential features for LLM agent and automation consumers:
| Feature | Implementation |
|---------|---------------|
| Stable exit codes | Documented, machine-readable (0=success, 4=auth, 5=not found, 7=rate limited) |
| --results-only | Strip envelope, return just data array (hidden flag) |
| --select | Project JSON to specific fields (hidden flag) |
| --no-input | Never prompt, fail instead |
| --dry-run | Show what would happen without executing (hidden flag) |
| --force | Skip confirmations for destructive ops |
| Schema introspection | cli schema [cmd] emits command tree as JSON |
| Command allowlist | --enable-commands a,b restricts available commands |
See ./references/agent-design.md for exit code table and implementation details.
Selection chain: --account flag -> env var -> keyring default -> single stored token -> error
Keyring backend chain: env override -> config setting -> auto-detect (macOS Keychain > Linux Secret Service > encrypted file)
Key principles:
--readonly flagBearer)See ./references/auth-patterns.md for implementation details.
Use typed errors with checker functions:
type RateLimitError struct { RetryAfter time.Duration; Attempt int }
type AuthRequiredError struct { Service, Account string; Cause error }
type NotFoundError struct { ResourceID string }
func IsRateLimitError(err error) bool { ... } // uses errors.As
Map errors to stable exit codes in one place. Map HTTP status codes: 401->4 (auth), 403->6 (permission), 404->5 (not found), 429->7 (rate limit), 5xx->8 (retryable).
cli config get/set/unset/list/keys/path| Layer | Approach | Requirement |
|-------|----------|-------------|
| Unit | testing + testify + httptest | Always |
| Integration | Build-tagged, real API calls | Opt-in |
| Live scripts | Shell scripts per service | Manual |
Interfaces at service boundaries enable mocking. Module-level function vars allow test substitution.
Adding a service should be mechanical, not inventive:
internal/<api>/<service>/)internal/cmd/<service>.go)Zero changes to existing code. See ./references/extensibility.md.
build, fmt, lint, test, ci (full gate).tools/ (goimports, gofumpt, golangci-lint)When wrapping a third-party REST API, never trust the docs for response shapes. Probe the real API first.
API documentation frequently lies about:
int, API returns "123" (quoted string){"data": [items]}, API returns {"data": {"items": [], "count": 0}}true/false, API returns "0"/"1""error" field in the JSON bodyBefore defining Go struct types for any API response:
# Probe pattern: dump raw response and inspect field types
TOKEN="..."
curl -s -H "Authorization: Bearer $TOKEN" "$API_URL/endpoint" \
| python3 -c "
import sys, json
data = json.load(sys.stdin)
for k, v in sorted(data.items()):
print(f'{k} ({type(v).__name__}): {repr(v)[:100]}')
"
// BAD: trusting docs that say "integer"
type Message struct {
ReceivedTime int64 `json:"receivedTime"`
HasAttachment bool `json:"hasAttachment"`
Priority int `json:"priority"`
}
// GOOD: using string for fields that might be quoted
type Message struct {
ReceivedTime string `json:"receivedTime"` // "1771122930710"
HasAttachment string `json:"hasAttachment"` // "0" or "1"
Priority string `json:"priority"` // "3"
}
// Parse in the CLI display layer, not the API types
Always check for error fields in token responses regardless of HTTP status:
// BAD: only checking HTTP status
if resp.StatusCode != http.StatusOK {
return nil, fmt.Errorf("HTTP %d", resp.StatusCode)
}
json.NewDecoder(resp.Body).Decode(&tokenResp) // may have empty access_token
// GOOD: parse first, then check for errors
json.NewDecoder(resp.Body).Decode(&tokenResp)
if tokenResp.Error != "" {
return nil, fmt.Errorf("token error: %s", tokenResp.Error)
}
if tokenResp.AccessToken == "" {
return nil, fmt.Errorf("empty access token in response")
}
Build a shell script that exercises every read-only endpoint and reports pass/fail/skip:
#!/bin/bash
pass=0; fail=0; skip=0
run_test() {
local name="$1"; shift
output=$("$@" 2>&1)
rc=$?
if [ $rc -eq 0 ]; then
echo "PASS $name"; ((pass++))
elif echo "$output" | grep -q "not available\|upgrade\|permission"; then
echo "SKIP $name (plan tier)"; ((skip++))
else
echo "FAIL $name (exit $rc)"; ((fail++))
echo " $output" | head -1
fi
}
run_test "users list" ./cli admin users list
run_test "groups list" ./cli admin groups list
run_test "messages list" ./cli mail messages list --limit 1
# ... add all endpoints
echo -e "\nResults: $pass passed, $fail failed, $skip skipped"
| File | When to Read |
|------|-------------|
| ./references/kong-patterns.md | Designing command structs and flag patterns |
| ./references/auth-patterns.md | Implementing OAuth2 flows and keyring storage |
| ./references/agent-design.md | Making CLI agent/automation-friendly |
| ./references/extensibility.md | Adding new API services to an existing CLI |
Credits: Patterns distilled from gogcli by Peter Steinberger. Licensed as open knowledge for the CLI community.
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
ready
Auth
api_key, oauth
Streaming
No
Data region
global
Protocol support
Requires: openclew, lang:typescript
Forbidden: none
Guardrails
Operational confidence: medium
curl -s "https://xpersona.co/api/v1/agents/oss-skills-cli-development/snapshot"
curl -s "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract"
curl -s "https://xpersona.co/api/v1/agents/oss-skills-cli-development/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
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
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Rank
70
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Traction
No public download signal
Freshness
Updated 2d ago
Rank
70
AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs
Traction
No public download signal
Freshness
Updated 5d ago
Rank
70
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
Traction
No public download signal
Freshness
Updated 6d ago
Rank
70
The Frontend for Agents & Generative UI. React + Angular
Traction
No public download signal
Freshness
Updated 23d ago
Contract JSON
{
"contractStatus": "ready",
"authModes": [
"api_key",
"oauth"
],
"requires": [
"openclew",
"lang:typescript"
],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": "https://github.com/oss-skills/cli-development#input",
"outputSchemaRef": "https://github.com/oss-skills/cli-development#output",
"dataRegion": "global",
"contractUpdatedAt": "2026-02-24T19:45:27.912Z",
"sourceUpdatedAt": "2026-02-24T19:45:27.912Z",
"freshnessSeconds": 4423080
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/oss-skills-cli-development/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/oss-skills-cli-development/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"OPENCLEW"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_OPENCLEW",
"generatedAt": "2026-04-17T00:23:28.308Z"
}
},
"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": "OPENCLEW",
"type": "protocol",
"support": "unknown",
"confidenceSource": "profile",
"notes": "Listed on profile"
},
{
"key": "read",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "multiple",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "comments",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:read|supported|profile capability:multiple|supported|profile capability:comments|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": "Oss Skills",
"href": "https://github.com/oss-skills/cli-development",
"sourceUrl": "https://github.com/oss-skills/cli-development",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-03-01T06:05:20.079Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-02-24T19:45:27.912Z",
"isPublic": true
},
{
"factKey": "auth_modes",
"category": "compatibility",
"label": "Auth modes",
"value": "api_key, oauth",
"href": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:45:27.912Z",
"isPublic": true
},
{
"factKey": "schema_refs",
"category": "artifact",
"label": "Machine-readable schemas",
"value": "OpenAPI or schema references published",
"href": "https://github.com/oss-skills/cli-development#input",
"sourceUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:45:27.912Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/oss-skills-cli-development/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 cli-development and adjacent AI workflows.