/holoscope:holoscopefrom holoscope
Work with Alibaba Cloud HoloScope (Hologres agent observability): traces, custom evaluators, regression datasets, agent/model experiments, scores, and documentation. Use when the user mentions HoloScope, Hologres agent observability, or these workflows against a HoloScope endpoint.
Ships in holoscope. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
HoloScope is Alibaba Cloud's agent observability and evaluation service (part of Hologres). This skill uses the public Agent endpoint and project API keys. HoloScope exposes a Langfuse-compatible API subset, so Langfuse SDKs, the Langfuse CLI (@langfuse/cli), and Langfuse docs on SDK/API usage apply — within the supported surface below.
Follow these principles for ALL HoloScope work:
@langfuse/cli pointed at the HoloScope endpoint when querying/modifying data. If its schema cannot express a supported HoloScope operation, use the current HoloScope HTTP contract under the same authorization rules.metadata.required_access as the baseline for a reference's platform workflow; request additional access only for the selected execution path. Use HOLOSCOPE_PROJECT_INTERFACE for CLI/API/MCP operations and HOLOSCOPE_PROJECT_SCRIPT only when executing SDK code that connects to HoloScope. API-only dataset, evaluator, and experiment management does not require SDK execution or application source access.CODEBASE means access to the user's own application/Agent source code; request it only when actually reading or editing that code, including instrumentation or runner changes. Never require HoloScope platform source code. Use an existing callable Agent or runner without source access when its runtime contract is sufficient; record supplied version identifiers and disclose unverifiable implementation details rather than demanding source code.llm_as_judge and code evaluators; Code requires an enabled server dispatcher, and the available language (Python or TypeScript) depends on that dispatcher. A project key cannot enable server features. Local scoring with results uploaded through the Scores API remains an optional execution path. If a supported request fails, diagnose the request, credentials, permissions, and service response; do not infer a missing product capability from a failed call. Offer a local draft without claiming deployment when execution is blocked.comment, structured evidence, source, and associations before expanding a smoke run. A score existing in storage does not prove it is discoverable or explained in the console.Use this index to select an API. Fetch the official HoloScope API documentation for public API authentication, parameters, pagination, request/response schemas, and errors. Verify the target deployment and permissions; unlisted upstream endpoints are not implied support.
Paths are relative to the HoloScope endpoint. Use DEFAULT keys for reads and management; TRACE_INGESTION keys are limited to Trace/Observation ingestion. Mixing Scores into a legacy ingestion batch with a restricted key rejects the entire batch.
The Agent gateway requires HTTP Basic (publicKey:secretKey) and enforces IP policy, including health routing. The key selects the project; do not add Console identity headers or derive public URLs from internal gateway paths.
| Method | Path | Purpose |
|---|---|---|
POST | /api/public/otel/v1/traces | Preferred OTLP/HTTP trace ingestion |
POST | /api/public/otel/v1/metrics | Exporter compatibility; metrics are not parsed or persisted |
POST | /api/public/ingestion | Legacy batch ingestion |
GET, DELETE | /api/public/traces | List or batch-delete traces |
GET, DELETE | /api/public/traces/{traceId} | Read or delete a trace |
GET | /api/public/observations | List observations (v1) |
GET | /api/public/observations/{observationId} | Read an observation |
GET | /api/public/sessions | List sessions |
GET | /api/public/sessions/{sessionId} | Read a session |
GET | /api/public/v3/scores | Read scores, including filtering by sessionId |
GET | /api/public/v2/scores | Legacy score reads; prefer v3 |
POST | /api/public/scores | Create a score |
GET, POST | /api/public/v2/datasets | List or create datasets |
GET | /api/public/v2/datasets/{datasetName} | Read a dataset |
GET, POST | /api/public/dataset-items | List or create dataset items |
GET, DELETE | /api/public/dataset-items/{id} | Read or delete a dataset item |
GET, POST | /api/public/dataset-run-items | List or create dataset run items |
GET | /api/public/datasets/{datasetName}/runs | List dataset runs |
GET, DELETE | /api/public/datasets/{datasetName}/runs/{runName} | Read or delete a dataset run |
POST | /api/public/media | Request an upload URL (OSS internal/VPC access) |
PATCH | /api/public/media/{mediaId} | Report the upload result |
GET | /api/public/projects | Read the key's project / SDK auth check (DEFAULT key) |
GET | /api/public/health | Health check; backend handler is unauthenticated |
GET, POST | /api/public/unstable/evaluators | List or create evaluators |
GET, DELETE | /api/public/unstable/evaluators/{evaluatorId} | Read or delete an evaluator |
GET, POST | /api/public/unstable/evaluation-rules | List or create Observation/Experiment rules; Session where verified by the deployment |
GET, PATCH, DELETE | /api/public/unstable/evaluation-rules/{evaluationRuleId} | Read, update, or delete a rule |
unstable endpoints are preview contracts. Automatic Session evaluation through the public rule APIs was verified on one HoloScope pre-release deployment with project keys; verify the target's support before enabling it. Use the dataset-run and dataset-run-item APIs for experiment reads. Trace/Observation/Session v1 and Score v2 GETs return 404 in events_only mode; CLI schema pinning does not bypass this server condition. Score v3 remains the preferred score read.
Use @langfuse/cli to interact with the HoloScope API from the command line. It requires Node.js 20 or newer. Run via npx (no install required):
# Compatibility snapshot for legacy v1 reads; not the backend version.
# Discover a matching schema separately for evaluator/experiment APIs.
npx @langfuse/cli api --api-version 3.225.3 <resource> <action>
# Discover all available resources (lists the FULL Langfuse API — cross-check against the supported surface above)
npx @langfuse/cli api --api-version 3.225.3 __schema
# List actions for a resource
npx @langfuse/cli api --api-version 3.225.3 <resource> --help
# Show args/options for a specific action
npx @langfuse/cli api --api-version 3.225.3 <resource> <action> --help
Set environment variables before making calls:
export LANGFUSE_PUBLIC_KEY=pk-...
export LANGFUSE_SECRET_KEY=sk-...
export LANGFUSE_BASE_URL=<HoloScope endpoint> # copy from console: HoloScope服务 -> 概览 -> 连接管理 (no derivable URL pattern)
API key pairs are created in the console under the project's Agent快速接入 -> API Key管理. The Secret Key is shown in full only once at creation — treat it as unrecoverable. If the user has no HoloScope service yet: it is in public beta (free) and currently available only in China East 1 (Hangzhou); see activation and billing. Do not ask users to paste keys into chat for security reasons.
Two sources; always prefer your application's native web fetch and search tools over curl when available.
The API is Langfuse-compatible, so Langfuse docs are the reference for SDK setup, instrumentation, and API mechanics. Cross-check API operations against the supported surface above. Use score comment for the human-readable evaluation reason.
https://langfuse.com/llms.txt.md to its path (e.g. https://langfuse.com/docs/observability/overview.md) or send Accept: text/markdownhttps://langfuse.com/api/search-docs?query=<url-encoded-query> — great fallback when the topic is unclear; extract only the relevant portions. Never implement from changelog posts — use docs and API/SDK references.Fetch these help.aliyun.com pages for anything product-specific:
references/cli.md (opens in a new tab)references/create-dataset.md (opens in a new tab)references/instrumentation.md (opens in a new tab)references/prompt-engineering.md (opens in a new tab)references/run-experiments.md (opens in a new tab)references/sdk-upgrade.md (opens in a new tab)references/session-evaluation.md (opens in a new tab)references/setting-up-evals.md (opens in a new tab)references/user-feedback.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (aliyun/holoscope-skills) — no native marketplace selected
npx claudepluginhub p/aliyun-holoscope