ctxpipe: Skill for Claude Code

.agents/skills/preview-env/graph/SKILL.md

preview-env-graph is a skill for Claude Code from ctxpipe-ai/ctxpipe. It costs 0 tokens per session (729 once invoked), scanned A, original, MIT.

A test flow for a workspace graph view. The graph displays project knowledge as connected nodes and edges, so related files or concepts can be inspected visually.

In plain words
What is it for?
Use it to test graph loading, API responses, empty states, node details, URL-based pane selection, and the displayed project relationships.
Why use it?
It checks that the graph is available after project processing and that an empty graph is distinguished from a service failure. It also verifies that direct links and node selection work after a page reload.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is ctxpipe-ai/ctxpipe's own configuration. It tells Claude Code how to work on ctxpipe itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ctxpipe configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ctxpipe-ai/ctxpipe. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ctxpipe-ai/ctxpipe/main/.agents/skills/preview-env/graph/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ctxpipe-ai/ctxpipe

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for preview-env-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/graph/github.svg)](https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/graph)
Your own site
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/graph"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/graph/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for preview-env-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/graph"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00729
Opus 5.5 $0.00000 $0.00292
Sonnet 5.5 $0.00000 $0.00146
Haiku 4.5 $0.00000 $0.00073

Measured 4d ago against content hash fba1e340426b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preview-env-graph scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/preview-env/graph/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

preview-env graph

This Workspace's projection, not an org-wide graph. Hydrate must be ready (HYD-1). Harness is PASS. Flow format: run-setup.

GRAPH-1 Pane loads

Requires HYD-1. Steps

  1. Open {BASE_URL}/{orgSlug}/ws/{workspace1Slug}?pane=graph (the composer URL is enough).

Expect (UI) pane=graph in the URL, the Graph tab selected, and a painted canvas (nodes and edges) or an honest empty state. Empty after ready with no "derived graph unavailable" copy is a PASS (sparse projection). The copy derived graph unavailable is a FAIL. Expect (backend) GET /{orgSlug}/api/v1/workspaces/{workspace1Slug}/graph returns 200 (503 is a FAIL: the graph store or projection is down); the projection has 4 WorkspaceKnowledgeUnit nodes and 11 WorkspaceSignal edges, told apart by their predicate property: 7 LINKS_TO from the template's relative links and 4 claim edges (DEPENDS_ON, IMPLEMENTED_IN, OWNS, PART_OF). Edges are not typed relationships named after the predicate. Budget 3 s / 10 s, pane open to canvas painted. Evidence GRAPH-1-1.png; HTTP status; trace of the graph request.

GRAPH-2 Select a node

Requires GRAPH-1 with at least one node (else SKIP(no-fixture)). Steps

  1. Click a node.
  2. If the inspector offers a source path, open it.

Expect (UI) an inspector or drawer shows a label; the source path opens Files (pane=file:… or pane=files). If the URL gains ?node=, it stays. Expect (backend) none beyond the graph GET. Budget 1 s / 3 s, click to inspector. Evidence GRAPH-2-1.png.

GRAPH-3 Reload on the graph URL

Requires GRAPH-1. Steps

  1. With pane=graph in the address bar, hard-reload; then open the same URL in a new tab.

Expect (UI) the shell renders, the Graph pane mounts, and no blank page or crash screen appears (the canvas is client-only; server rendering must not break). The browser console has no uncaught error from the pane. Expect (backend) the document request returns 200; the graph GET follows once. Budget 5 s / 15 s, reload to canvas or empty state. Evidence GRAPH-3-1.png; console excerpt on failure.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 47 lines · 0 tokens per session scan A fba1e340426b

Subscribe to this mod's changes

preview-env-graph is a skill published in the GitHub repository ctxpipe-ai/ctxpipe (27 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 729 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.

Related

Other skills, from other repositories

browser-journey-test

Validate user stories by simulating real user journeys in a live browser against deployed application. Activate after implementation to verify actual user experience against acceptance criteria, not just code logic.

digipulse-engineering/GAAI-framework · 40 tokens

sidekick-audit

Deterministic UI quality audit of a web page or a whole product — WCAG 2.2 A/AA accessibility (axe-core), Core Web Vitals (LCP/CLS), browser health (console errors, failed requests, mixed content) and tap-target size — reported dimensions-first, with confirmed-vs-uncertain findings clustered into root-cause families…

redevops-io/sidekick · 141 tokens

sidekick-test

Goal-based end-to-end UI testing that PROVES the outcome. Given a URL and a plain-language goal (e.g. 'sign up, create a project, and invite a teammate'), sidekick drives a real browser to do it and then verifies success with a DETERMINISTIC signal on the real page — the execution agent is never allowed to grade its…

redevops-io/sidekick · 137 tokens

validate

Validate Semantica pipelines, extraction quality, graph schemas, and ontology consistency. Returns structured error/warning checklists. Uses PipelineValidator, PipelineBuilder.validatepipeline(), GraphValidator, and OntologyValidator. Sub-commands: pipeline, step, dependencies, extraction, graph, ontology, performance.

semantica-agi/semantica · 0 tokens

agent-evaluation

A guide to measuring whether an AI agent works reliably on the tasks that matter. It covers repeatable test environments, program checks, human-like scoring rules, failure analysis, and experiments that separate model problems from system problems.

bojieli/ai-agent-book · 133 tokens

bad-case-to-dpo

A guide to turning failed production agent runs into training and evaluation data. It explains how to find the first mistake, create preference examples for DPO (Direct Preference Optimization), and check that a fix does not damage other tasks.

bojieli/ai-agent-book · 168 tokens