agentleFS
0-shiv0-shiv/secondstep-claude-skills/skills/negative-keywords-claude/negatives/SKILL.md

negatives

Skill2 starsChanged 9 months agoMITView on GitHub

The master negative keyword intelligence system. Routes to specialized sub-skills for mining, analysis, conflict detection, industry lists, cross-campaign strategy, match type selection, waste calculation, and audit reporting. Understanding the three negative match types is critical. They work DIFFERENTLY from positive keyword match types. This means you need to add BOTH "free" AND "fre" (common misspelling) as separate negatives. You need "job" AND "jobs" AND "career" AND "careers" as separate negatives. The system uses 3 specialized agents that work together:

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Key insight: Use phrase negative when individual words are fine but the combination is bad.

    line 38
  2. Distinctive:

    Blocks: ONLY the exact query "free crm software" — nothing else

    line 42
  3. Distinctive:

    Key insight: Use exact negative only when you want to block one specific query while keeping all variations active.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Negative Keywords — Main Skill Router

Command: /negatives

The master negative keyword intelligence system. Routes to specialized sub-skills for mining, analysis, conflict detection, industry lists, cross-campaign strategy, match type selection, waste calculation, and audit reporting.

Command Routing

User CommandRoute ToDescription
/negatives mineneg-search-term-miningParse and classify search term reports
/negatives ngramneg-ngram-analysisN-gram pattern extraction and analysis
/negatives conflictsneg-conflict-detectorFind negative-positive keyword conflicts
/negatives listsneg-industry-listsPre-built industry negative keyword lists
/negatives cross-campaignneg-cross-campaignCross-campaign negative strategy
/negatives match-typesneg-match-typesMatch type selection for negatives
/negatives wasteneg-waste-calculatorCalculate budget waste from poor negatives
/negatives reportneg-reportFull negative keyword audit report

Negative Keyword Fundamentals

Understanding the three negative match types is critical. They work DIFFERENTLY from positive keyword match types.

Broad Match Negative

  • Syntax: free (no brackets, no quotes)
  • Blocks: Any query containing the word "free" in any position
  • Does NOT block: Close variants, synonyms, or misspellings (unlike positive broad match)
  • Example: Negative free blocks "free software", "software free trial", "get it free today"
  • Does NOT block: "freely available" (different word form — negatives don't match variants)
  • Key insight: Broad negative is more restrictive than you think. It only blocks the EXACT word, not synonyms or related terms. But it blocks it in ANY position within the query.

Phrase Match Negative

  • Syntax: "free trial" (in quotes)
  • Blocks: Any query containing "free trial" as a phrase, in that exact word order
  • Does NOT block: Queries where the words appear but not as a phrase
  • Example: Negative "free trial" blocks "get free trial now", "free trial software"
  • Does NOT block: "trial for free", "free software trial" (word order matters)
  • Key insight: Use phrase negative when individual words are fine but the combination is bad.

Exact Match Negative

  • Syntax: [free crm software] (in brackets)
  • Blocks: ONLY the exact query "free crm software" — nothing else
  • Does NOT block: Any variation, addition, or reordering
  • Example: Negative [free crm software] blocks only "free crm software"
  • Does NOT block: "free crm", "crm software free", "best free crm software"
  • Key insight: Use exact negative only when you want to block one specific query while keeping all variations active. This is precision surgery.

Critical Difference from Positive Match Types

Negative keywords do NOT match:

  • Close variants (misspellings, plurals for broad/phrase)
  • Synonyms
  • Related searches
  • Implied words

This means you need to add BOTH "free" AND "fre" (common misspelling) as separate negatives. You need "job" AND "jobs" AND "career" AND "careers" as separate negatives.

Orchestration Flow

The system uses 3 specialized agents that work together:

Agent 1: Mining Agent (agents/mining-agent.md)

  • Ingests raw search term data (CSV, paste, or API)
  • Classifies each term: Relevant | Irrelevant | Ambiguous
  • Maps search intent: Informational | Commercial | Transactional | Navigational
  • Flags pattern categories: job-seekers, DIY, competitors, freebie-hunters, complaints
  • Output: Classified search term dataset with recommendations

Agent 2: Analysis Agent (agents/analysis-agent.md)

  • Runs N-gram analysis on classified data
  • Extracts 1-gram, 2-gram, 3-gram frequency tables
  • Cross-references with spend, impressions, conversions
  • Identifies high-waste N-grams (high spend + zero conversions)
  • Runs cross-campaign overlap analysis
  • Output: Prioritized N-gram waste report

Agent 3: Audit Agent (agents/audit-agent.md)

  • Calculates Negative Keyword Coverage Score (0-100)
  • Detects negative-positive conflicts
  • Matches account to industry lists
  • Calculates total waste in dollars
  • Generates formatted audit report
  • Output: Complete audit with score, recommendations, savings projection

Orchestration Sequence

User Input (search term data)
        │
        ▼
  ┌─────────────┐
  │ Mining Agent │ ──→ Classified terms
  └─────────────┘
        │
        ▼
  ┌──────────────────┐
  │ Analysis Agent   │ ──→ N-gram patterns + waste quantification
  └──────────────────┘
        │
        ▼
  ┌──────────────┐
  │ Audit Agent  │ ──→ Score + Report + Recommendations
  └──────────────┘
        │
        ▼
  Final Output: Audit report with actionable negative keyword list

Input Formats Accepted

  1. CSV file path — Standard Google Ads search term report export
  2. Pasted data — Tab-separated or comma-separated search term data
  3. Manual keyword list — List of keywords to analyze for conflicts
  4. Industry name — For pre-built list retrieval

Output Formats

  • Negative keyword lists (ready to upload to Google Ads)
  • Audit reports (Markdown formatted)
  • Conflict reports (prioritized by risk)
  • Waste calculations (monthly and annual projections)

Scoring Methodology

The Negative Keyword Coverage Score evaluates:

FactorWeightMeasurement
Search term relevance rate30%% of search terms that are relevant to the business
N-gram coverage25%% of high-waste N-grams already covered by negatives
Conflict absence15%Absence of negative-positive conflicts
Industry list coverage15%Coverage of applicable industry-standard negatives
Match type accuracy15%Correct match type usage across negative list

Quick Usage Examples

# Mine search terms from a CSV
/negatives mine path/to/search-terms.csv

# Run N-gram analysis on last 30 days
/negatives ngram --days 30

# Check for conflicts
/negatives conflicts

# Get industry list for SaaS
/negatives lists saas

# Full audit
/negatives report

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.