connect

A note-processing stage that finds related notes through semantic search and adds links between them. Semantic search looks for meaning and related ideas, not only exact matching words.

In plain words
What is it for?
Use it on routed notes to search for relevant notes, remove unsuitable matches, present possible connections, add selected related-note links, and update the note’s processing status.
Why use it?
It helps connect useful context that may otherwise remain scattered across a notes vault.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/technicalpickles/pickled-claude-plugins/connect
Any agent
npx skills add technicalpickles/pickled-claude-plugins --skill connect
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

Made for: Claude Code, Codex.

Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.00467
Opus 5 $0.00010 $0.00234
Sonnet 5 $0.00004 $0.00093
Haiku 4.5 $0.00002 $0.00047

Measured 2d ago against content hash 3c183d586fe7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

connect 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 2d 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.

plugins/second-brain/skills/connect/SKILL.md · 68 lines

What it actually says

Connect Stage

Find related notes via semantic search (qmd) and weave forward/backward links.

See references/pipeline.md for stage definitions and status flow. See references/connecting.md for the connection discovery algorithm.

Input

A routed note with status: routed.

Process

  1. Check qmd availability:

    which qmd
    

    If not available, log "Skipped connections: qmd not available", set status: connected, and return.

  2. Extract query terms from the note's title and body

  3. Run semantic search:

    qmd query "{terms}" -c {collection} -n 15 --json
    
  4. Filter and rank per references/connecting.md:

    • Remove self
    • Remove already-linked notes
    • Remove daily notes
    • Remove low-relevance results (below 30%)
  5. If candidates found, present to human (when called by orchestrator):

    • Show candidates with scores and snippets
    • Let user multi-select which to connect
  6. For selected connections:

    • Add ## Related section to the note with wiki-links
    • Offer backlink weaving for notes that have See Also/Related/TK sections
  7. Update status to connected

Output

  • Note with ## Related section added (if connections found)
  • status: connected

Constraints

  • Graceful skip if qmd unavailable (always log that it was skipped)
  • The note being processed won't be in qmd's index yet. Search FROM its content, not for it.
  • Don't add connections the user didn't approve
  • Backlink weaving is optional (offer, don't force)
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. 2d ago First seen · 68 lines · 20 tokens per session scan A 3c183d586fe7

Subscribe to this mod's changes

connect is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (10 stars, last pushed 4d ago), licensed MIT. It adds 20 tokens to every session and 467 once invoked, about $0.0001 per session on Opus 5. 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-08-31.

Related

Other skills, from other repositories

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

verify-security

安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。.

fengshao1227/ccg-workflow · 78 tokens

development

开发语言能力索引。Python、Go、Rust、TypeScript、Java、C++、Shell。当用户提到编程、开发、代码、语言时路由到此。.

fengshao1227/ccg-workflow · 41 tokens

post-build-flow

Handles workflow verification and setup after build-workflow succeeds, or when the message contains workflow-verification-follow-up or workflow-setup-required. Load after direct builds, when verificationReadiness requires action, or on orchestrator verify/setup follow-up turns.

n8n-io/n8n · 53 tokens

n8n:create-pr

Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation. Use when creating PRs, submitting changes for review, or when the user says /pr or asks to create a pull request.

n8n-io/n8n · 50 tokens

n8n:reproduce-bug

Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.

n8n-io/n8n · 41 tokens