brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
sdkUse Headroom compression APIs, SharedContext, relevance and image helpers, and the TypeScript SDK in application code.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user wants to call Headroom from Python or TypeScript code, embed compression in an application, or understand the SDK-level APIs that do not require operating the proxy or durable memory workflows.
compress, compress_spreadsheet, CompressConfig, CompressResult, HeadroomClient, ChatCompletions, Messages, and validate_setup/metrics helpers.SharedContext for compressed inter-agent handoffs.headroom.relevance, headroom.image, and optional extras that affect those APIs.sdk/typescript/, including compress, HeadroomClient, simulate, retrieve, SharedContext, hooks, format conversion, and path helpers.headroom proxy, and agent wrapping/setup: use ../proxy-wrap/SKILL.md.../memory/SKILL.md.../ops/SKILL.md.Python local compression:
from headroom import compress
result = compress([
{"role": "user", "content": "Explain this file"},
], optimize=False)
Python configuration or app wrapper:
from headroom import CompressConfig
from headroom.client import HeadroomClient
TypeScript SDK:
import { compress, HeadroomClient, SharedContext } from "headroom-ai";
For a safe smoke check, read the bundled helper and run the small no-network validation it documents:
python scripts/compress_smoke.py --json
references/api-reference.md captures the verified Python API shapes and important defaults.references/typescript-sdk.md summarizes the TS exports and app-facing examples.references/workflows.md gives concrete Python and TypeScript application recipes.references/troubleshooting.md covers missing extras, proxy assumptions, ONNX/HF/image issues, and type/runtime mismatches.scripts/compress_smoke.py runs a safe no-network Python compression smoke.scripts/tabular_compression_demo.py is the bundled table/spreadsheet demo adapted from the repo example.optimize=False or when the user has not configured a running proxy.