Skip to content
Back to skills

Api Client

ASecurity

{{description}}

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 9, 2026
ai-agentsbashrailsapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 9, 2026

npx -y skills add avivsinai/telclaude --skill api-client --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Client?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Client
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/avivsinai-api-client/badge)](https://www.skillsdirectory.com/skills/avivsinai-api-client)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: {{name}}
description: {{description}}
allowed-tools:
  - Read
  - Bash
---

# {{title}}

This skill queries an external provider via the relay-proxied
`telclaude provider-query` CLI. Direct network calls to provider endpoints
are blocked by the firewall and hook layer; always use the CLI.

## When to Use

Invoke this skill when the user asks for data from the provider this skill
wraps. Consult `references/provider-schema.md` (written by the relay at
startup) for the authoritative list of services and actions.

## User ID

You must extract the actor user ID from `<request-context user-id="..." />`
in your system context and pass it via `--user-id` on every call. Requests
without it are rejected with HTTP 401.

## Calling the Provider

```bash
telclaude provider-query \
  --provider {{name}} \
  --service <service> \
  --action <action> \
  --user-id <actor-id>
```

Pass structured parameters via `--params` with a JSON string:

```bash
telclaude provider-query \
  --provider {{name}} \
  --service <service> \
  --action <action> \
  --user-id <actor-id> \
  --params '{"startDate": "2026-01-01"}'
```

## Handling Responses

The CLI emits a JSON object. The common shape is:

```json
{
  "status": "ok",
  "data": { },
  "attachments": []
}
```

- `status: ok` — present the data, respecting any `confidence` / `lastUpdated` fields.
- `status: auth_required` — tell the operator the service needs setup.
- `status: challenge_pending` — explain the `/otp <service> <code>` flow.
- `status: error` — surface the error message concisely.

## Attachments

When an attachment has a `ref`, deliver it with
`telclaude send-attachment --ref <ref>`. When it has only an `id`, fetch via
`telclaude fetch-attachment`. The path emitted on stdout must appear verbatim
in your reply so the relay can forward the file to the user.

## Guardrails

- Never call provider URLs directly (WebFetch, curl, fetch). The firewall
  blocks them and the hook layer returns a descriptive error.
- Never ask the user for API keys or OAuth tokens. The relay handles auth.
- Do not log or echo response bodies that may contain secrets.
- Use neutral credential placeholders such as `<provider-token-placeholder>`,
  `sk-...`, `ghp_xxxxxxxxxxxxxxxxxxxx`, `example-token-placeholder`, or
  `redacted`; do not include realistic provider tokens, bearer tokens, cookies,
  sessions, or infrastructure secret environment names.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.