lightning-rod-labs/lightningrod-python-sdk/verify-forecasting-docs

Claude Code and agent skill by lightning-rod-labs/lightningrod-python-sdk

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Verify the forecasting docs (quickstart.md, sdk.md, openai.md) by executing every Python code snippet and checking that the surrounding prose accurately describes the actual behavior. Use when docs have changed, when the SDK has changed, or when a new API feature is added.

Install

npx vskill@latest install lightning-rod-labs/lightningrod-python-sdk/verify-forecasting-docs

SKILL.md

Verify Forecasting Docs

Two-phase verification of docs/forecasting/: run every code snippet against the live API, then check that the prose around each snippet matches observed behavior.

Setup

Ask the user for an API key if one hasn't been provided. The project .env may point to staging — bypass it so snippets run against production:

bash
LIGHTNINGROD_BASE_URL="https://api.lightningrod.ai/v1" python ...

Activate the venv before running any Python:

bash
source venv/bin/activate

Phase 1: Execute every code snippet

Read each doc file in turn. For every fenced Python block, run it verbatim (substituting the real API key for "your-api-key"). Capture stdout and any exception.

Cover all files under docs/forecasting/** in the order they are listed in SUMMARY.md.

For each snippet record:

  • file and approximate line range
  • exit status (pass / error / exception type + message)
  • stdout (first 300 chars is enough)

Phase 2: Semantic validation

For each snippet that passed, check the prose immediately before and after it against what you actually observed. Flag any mismatch as a finding.

Common things to check:

Prose claimHow to verify
"field X is populated when answer_type=Y"Confirm the field is non-None in the output
"answer_type='auto' raises ValueError in predict()"Run it and confirm the error message matches
Parameter descriptions in tables (type, default, description)Cross-check against client.py and prediction.py source
Response field table in sdk.mdConfirm each field is present on the returned PredictionResult
Cost/token counts mentionedConfirm usage fields are present and non-zero
Source objects have url and titleConfirm with a research call
answer_type='auto' note says it raises ValueErrorRun it and confirm

Flag findings as:

  • ⚠️ wrong — prose makes a claim that contradicts observed behavior
  • ⚠️ stale — prose describes something that no longer exists (removed field, renamed param)
  • 📝 missing — behavior exists but isn't documented

Report format

## Doc Verification: forecasting docs
**Verdict:** PASS | FAIL
### Snippet results
| # | File | Description | Result |
|---|------|-------------|--------|
| 1 | quickstart.md | OpenAI client minimal | ✅ pass |
| 2 | sdk.md | lr.predict() minimal | ✅ pass |
...
### Semantic findings
- ⚠️ <finding>
- 📝 <finding>
(empty = all prose checked out)

FAIL if any snippet raises an unexpected exception, or if any ⚠️ finding is found. 📝 findings don't fail but should be noted.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
57
Repository forks
6
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lightning-rod-labs/lightningrod-python-sdk/verify-forecasting-docs/badge)](https://verified-skill.com/skills/lightning-rod-labs/lightningrod-python-sdk/verify-forecasting-docs)

Something wrong with this skill or its page? Tell us.