okhp3-thread-context-extraction-grok

Extract pasted Grok conversations into standalone Markdown artifacts with provenance metadata.

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/OKHP3/telling-forward --skill okhp3-thread-context-extraction-grok-okhp3
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: okhp3-thread-context-extraction-grok
Source: https://github.com/OKHP3/telling-forward/tree/main/.agents/skills/okhp3-thread-context-extraction-grok
Command: npx skills add https://github.com/OKHP3/telling-forward --skill okhp3-thread-context-extraction-grok-okhp3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Pasted Grok conversations lose structure, roles, and context when copied out of the platform, making it hard to preserve decisions, reasoning, and reusable assets in a durable, portable form. ## Core Features & Use Cases - Structured Extraction: Converts pasted Grok chats, DeepSearch outputs, and X-grounded answers into validated Markdown artifacts with YAML frontmatter recording capture mode, completeness, and provenance. - Depth-Controlled Distillation: Supports rapid, balanced, and comprehensive extraction profiles with aliases, so users control granularity without relaxing privacy or evidence rules. - Role and Element Normalization: Builds turn ledgers and content element ledgers for citations, media, Canvas objects, and tool events, separating stated facts from inference. - Use Case: A user pastes a long Grok coding discussion and receives a standalone repository handoff preserving the final code, rejected alternatives, decisions, and open questions without requiring Grok or X account access. ## Quick Start Extract this pasted Grok conversation into a standalone Markdown artifact at balanced depth and save it to docs/thread-extracts.

Frequently Asked Questions about okhp3-thread-context-extraction-grok

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a Grok conversation into Markdown?▼

Paste the Grok conversation into the chat and request extraction at a chosen depth such as rapid, balanced, or comprehensive. The skill drafts the body from a template, then runs scripts/create_thread_extract.py to validate metadata and write the Markdown artifact.

What extraction depth should I use for a Grok thread?▼

Use rapid for a compact continuity brief, balanced for selective detail with documented compression, or comprehensive for fine-grained per-turn dispositions. Balanced is the default when no depth is specified, and aliases like scan, distill, or catalog map to the three tiers.

Does this skill require a Grok or X account or API key?▼

No account, API key, or network access is required. The skill only processes material manually pasted by the user and never accesses xAI, X, or live feeds, requiring only Python 3.10 or later and filesystem read/write access.

How are X posts and web citations in Grok threads handled?▼

X posts and web citations are cataloged as citation elements in the content element ledger with author, title, URL, and timestamp preserved only when supplied. They are treated as source traces labeled needs verification, never as independently verified facts.

What are the limitations of Grok thread extraction?▼

The skill cannot access accounts, export histories, or verify live claims, and it does not create lossless transcript archives. Missing media, sidecars, or source dates are recorded as unknown or referenced-not-supplied rather than reconstructed.

Why does the extraction script refuse to overwrite an existing file?▼

The create_thread_extract.py script fails on existing destinations to prevent accidental data loss. After deliberately comparing the existing artifact with the new extract, pass --allow-existing to permit replacement.