AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Invisible Threads

skill-cdeistopened-content-os-invisible-threads · by cdeistopened

A Claude skill from cdeistopened/content-os.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-cdeistopened-content-os-invisible-threads

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-cdeistopened-content-os-invisible-threads)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
Archived

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Invisible Threads? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Invisible Threads Skill

Discovers non-obvious thematic connections ("invisible threads") across a corpus of essays, articles, or transcripts.

Adapted from invisible-threads.

When to Use

  • Editing an anthology and want to find thematic connections
  • Analyzing a body of work for recurring ideas
  • Finding quotes that support a theme across multiple sources
  • Writing editorial commentary that weaves sources together

Quick Start

# 1. Prepare your corpus as markdown files in a source directory

# 2. Chunk the corpus into a database
python chunk_corpus.py --source /path/to/markdown/files --output corpus.db

# 3. Extract insights using Gemini
python extract_insights.py --db corpus.db --backend gemini

# 4. Find threads
python find_threads.py --input data/insights_*.json

# 5. Review threads_*.json for editorial use

Adapting for Your Project

The key file to modify is the extraction prompt in extract_insights.py.

Default Prompt Categories

The default is set up for Catholic agrarian content (Cross & Plough):

  • industrialism, land, family, property, craft, liturgy
  • organic-farming, distributism, eugenics, totalitarianism
  • natural-law, peasantry, economics, spirituality

For Other Projects

Change the EXTRACTION_PROMPT in extract_insights.py:

  1. Context section: Describe what the corpus is
  2. Examples section: Give 3 examples of genuine insights from this domain
  3. Categories: List 10-15 thematic categories relevant to your content

See references/prompt-templates.md for examples.

Output

insights_*.json

Each insight includes:

  • insight_text: The extracted quote/idea
  • category: Thematic category
  • novelty_score: 1-10 how surprising
  • specificity_score: 1-10 how quotable
  • source: Which document it came from
  • raw_chunk: Original context

threads_*.json

Each thread includes:

  • thread_id: Identifier
  • category: Dominant theme
  • size: Number of connected insights
  • num_sources: How many different documents
  • years_spanned: Timeline (if applicable)
  • insights: All insights in this thread

Editorial Applications

  1. Reorganize structure around discovered threads
  2. Write headnotes referencing how themes recur
  3. Add footnotes pointing to related pieces
  4. Find unused quotes that connect to themes
  5. Write bridge paragraphs between sections

Scripts

| Script | Purpose | |--------|---------| | chunk_corpus.py | Split markdown files into database | | extract_insights.py | Extract insights using LLM (Gemini/Claude/Ollama) | | find_threads.py | Cluster insights into thematic threads |

Requirements

google-generativeai>=0.3.0  # For Gemini
sentence-transformers>=2.2.0
networkx>=3.0
python-louvain>=0.16
scikit-learn>=1.0

Cost

| Backend | ~1000 chunks | Speed | |---------|--------------|-------| | Gemini Flash | Free tier | Fast | | Gemini Pro | ~$1-2 | Fast | | Claude Haiku | ~$0.50 | Fast | | Ollama | Free | Slow |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.