Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Smart Sourcing

  • 105 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Smart Sourcing is an agent skill that chooses when tool-backed citations are worth the token cost—usable whenever a solo builder needs to verify high-value claims before committing.

About

Smart Sourcing is an agent skill that tells Claude Code, Cursor, Codex, and similar assistants when to attach real citations versus when to answer without expensive retrieval. Solo and indie builders use it before research-heavy tasks, security recommendations, or any reply that mixes version numbers, API behavior, pricing tiers, and performance benchmarks—claims that go stale fast. The skill encodes a explicit require-sources versus do-not-require matrix so agents do not default to citing everything or citing nothing. That balance matters on a one-person stack where every extra fetch multiplies tokens across long sessions. Install it when your agent over-cites trivia or under-sources breaking changes; keep it in play across Idea research, Build docs, Ship security notes, and Launch factual pages. It is procedural knowledge in SKILL.md form, not an MCP server or a scraper—you still wire search and fetch tools separately.

  • Require sources for version numbers, performance stats, security advice, API specs, release dates, pricing limits, and d
  • Skip mandatory sourcing for stable concepts, opinion, and low-risk narrative where verification cost exceeds accuracy ga
  • Frames full sourcing as roughly 10–16× more expensive and targets verification only on high-value claims
  • Pairs with web search and fetch workflows via usage patterns for research, citation, and verify-claim triggers

Smart Sourcing by the numbers

  • 105 all-time installs (skills.sh)
  • Ranked #4,212 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill smart-sourcing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs105
repo stars325
Security audit2 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Decide which factual claims in agent work need live citations versus trusted inference so research stays accurate without blowing token budgets.

Who is it for?

Agents that research libraries, compare performance, or draft security and API docs where a few wrong facts are costly.

Skip if: Workflows that must cite every sentence for compliance, or tasks with no factual claims where sourcing rules add no value.

When should I use this skill?

Use before research tasks or when deciding whether a claim needs verification; triggers include research, source, citation, verify claim, web search, and fetch.

What you get

The agent applies a fixed claim-type checklist so only version, security, API, pricing, and similar high-risk statements trigger verification while the rest stays lean.

  • Per-claim sourcing decision (require source vs proceed without)
  • Citations attached only for flagged claim types when tools are available

By the numbers

  • Full sourcing described as roughly 10–16× token increase versus selective verification
  • Require-sources table covers seven high-value claim types including versions, performance, security, APIs, dates, pricin

Files

SKILL.mdMarkdownGitHub ↗

Smart Sourcing

Intelligent sourcing that requires citations only when the cost is justified by the value of verification.

Philosophy

Full sourcing is prohibitively expensive (10-16x token increase). Smart sourcing targets high-value claims where verification materially improves accuracy.

When to Source

REQUIRE Sources

Claim TypeExampleWhy Source
Version numbers"Python 3.12 added..."Versions change, easy to verify
Performance claims"30% faster than..."Quantitative claims need evidence
Security recommendations"Use bcrypt for..."Security advice must be current
API specifications"The function accepts..."APIs change between versions
Release dates"Released in Q4 2025"Factual, verifiable
Pricing/limits"Free tier allows 1000 requests"Business terms change
Deprecated features"X was removed in version Y"Breaking changes need verification

DO NOT Require Sources

Claim TypeExampleWhy No Source
General concepts"Async improves concurrency"Foundational knowledge
Code examplesDemonstrative snippetsIllustrative, not factual claims
Opinion/preference"Consider using..."Clearly framed as suggestion
Common knowledge"Git tracks changes"Universal understanding
Logical derivations"Therefore, X implies Y"Reasoning, not factual claim
Syntax"Use def for functions"Language documentation is stable

Decision Framework

Is this a factual claim?
├── No → No source needed
└── Yes → Would being wrong cause harm?
    ├── No (minor inconvenience) → No source needed
    └── Yes → Is verification cost-effective?
        ├── No (>5k tokens for low-value claim) → State uncertainty
        └── Yes → Perform web search, cite source

Implementation

Inline Citations

When sourcing is warranted:

Python 3.12 introduced `type` statement for type aliases[1].

Sources:
1. [PEP 695](https://peps.python.org/pep-0695/)

Uncertainty Markers

When sourcing isn't cost-effective but uncertainty exists:

Python 3.12 introduced the `type` statement (verify in release notes for your version).

Confidence Levels

ConfidenceAction
High (stable facts)State directly
Medium (may have changed)Add verification note
Low (uncertain)Source or acknowledge uncertainty

Token Cost Analysis

ApproachToken CostUse Case
No sourcingBaselineGeneral knowledge
Uncertainty marker+5-10 tokensMedium confidence
Single source+2-5k tokensHigh-value claim
Multiple sources+10-20k tokensResearch tasks

Examples

Good: Source Version-Specific Claim

User: What's new in FastAPI 0.109?

Response: FastAPI 0.109 added Pydantic v2 support as default[1] and
improved OpenAPI schema generation[2].

Sources:
1. [FastAPI Release Notes](https://fastapi.tiangolo.com/release-notes/)
2. [GitHub Release 0.109.0](https://github.com/tiangolo/fastapi/releases/tag/0.109.0)

Good: No Source for General Concept

User: How does async/await work?

Response: Async/await enables non-blocking I/O by allowing coroutines
to yield control while waiting for operations. The event loop manages
execution, resuming coroutines when their awaited operations complete.

Good: Uncertainty Marker

The connection pool default is typically 10 connections (verify in your
database driver documentation as this varies by library and version).

Integration

Works with:

  • conserve:response-compression - Keeps sourced responses concise
  • conserve:token-conservation - Weighs source cost vs value
  • memory-palace:knowledge-intake - Full sourcing for knowledge corpus

When To Use Full Sourcing

When NOT To Use

  • Internal project code that doesn't need citations
  • Casual conversation without factual claims

Escalate to full sourcing (accept high token cost) for:

  • Knowledge corpus entries (permanent documentation)
  • Security advisories (safety-critical)
  • Compliance/legal claims (audit requirements)
  • Research tasks (user expects thorough investigation)

For these cases, use memory-palace:knowledge-intake workflow which is designed for thorough sourcing.

Exit Criteria

  • [ ] Every claim categorized as requiring a source (version numbers,

performance claims, security recommendations, API specs, release dates, pricing/limits, deprecated features) has an inline citation or a verification note

  • [ ] No web search performed for claims categorized as general

concepts, code examples, opinions, common knowledge, logical derivations, or stable syntax

  • [ ] Claims with medium confidence carry an explicit uncertainty

marker (e.g., "verify in release notes for your version") rather than being stated as fact or sourced at high token cost

  • [ ] Decision tree applied: factual claim → harm if wrong →

verification cost-effective → source; each branch followed explicitly for claims exceeding medium confidence

Related skills

How it compares

Use instead of always-on web search or never citing—it's a decision policy, not a search integration.

FAQ

Who is smart-sourcing for?

Developers running Claude Code, Cursor, or Codex who do frequent research, comparisons, or factual docs and need citation discipline without maximal token spend.

When should I use smart-sourcing?

Before research tasks, when verifying a specific claim, or during Build docs, Ship security guidance, and Launch copy whenever version numbers, APIs, or pricing appear; also at Idea stage when scouting tools and competitors.

Is smart-sourcing safe to install?

It is markdown procedural guidance with no bundled tools in the skill manifest; review the Security Audits panel on this Prism page before enabling it in production agent configs.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.