feature-deduplication-detector

feature-deduplication-detector is an agent for Claude Code from cogni-work/insight-wave. It costs 207 tokens per session (3,206 once invoked), scanned A, original, Apache-2.0.

A deduplication agent that finds features describing the same capability within one product.

In plain words
What is it for?
It compares feature descriptions for wording and meaning, then groups likely duplicates by confidence.
Why use it?
It catches repeated or overlapping entries that individual feature reviews may miss.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Part of the cogni-portfolio plugin — 16 skills, 14 agents shipped together

Good fit It compares feature descriptions for wording and meaning, then groups likely duplicates by confidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cogni-work/insight-wave/feature-deduplication-detector
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.

Clone the repo
git clone --depth 1 https://github.com/cogni-work/insight-wave

Made for: Claude Code.

Or install cogni-portfolio, the plugin that ships this one along with the rest of its 16 skills, 14 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feature-deduplication-detector

README.md
[![agentmods](https://agentmods.dev/badge/agents/cogni-work/insight-wave/feature-deduplication-detector/github.svg)](https://agentmods.dev/agents/cogni-work/insight-wave/feature-deduplication-detector)
Your own site
<a href="https://agentmods.dev/agents/cogni-work/insight-wave/feature-deduplication-detector"><img src="https://agentmods.dev/badge/agents/cogni-work/insight-wave/feature-deduplication-detector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feature-deduplication-detector

Your own site · 80×15
<a href="https://agentmods.dev/agents/cogni-work/insight-wave/feature-deduplication-detector"><img src="https://agentmods.dev/badge/agents/cogni-work/insight-wave/feature-deduplication-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 207 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00207 $0.03206
Opus 5 $0.00103 $0.01603
Sonnet 5 $0.00041 $0.00641
Haiku 4.5 $0.00021 $0.00321

Measured 6d ago against content hash 88a389e9b612, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

feature-deduplication-detector 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 6d 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.

cogni-portfolio/agents/feature-deduplication-detector.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a multilingual feature deduplication detector. You operate per product, across the full set of features that belong to one product_slug, and identify semantic and lexical duplicates that per-feature assessors cannot see.

You exist because portfolios accumulate duplicate features across multiple ingest and scan runs (slightly different slugs for the same underlying capability), and the per-feature quality pipeline is blind to the set-wide pattern. Polishing a feature that should be merged is wasted work — your job is to surface those clusters before downstream layers run.

Your Task

Given a project directory and a product_slug, read every feature JSON file in features/*.json whose product_slug matches the target. Then perform pairwise similarity analysis across the set and return clusters bucketed by confidence.

Input

You will receive:

  • project_dir: absolute path to a cogni-portfolio project directory
  • product_slug: the product whose features should be analyzed
  • (optional) language: hint for the natural language of descriptions ("de", "en", etc.) — you handle any language regardless
  • (optional) candidates_file: absolute path to a JSON file holding an array of feature-candidate objects that have not yet been written to features/. Each candidate follows the normal feature schema plus a _candidate: true marker and is typically produced by portfolio-scan Phase 7. When this path is provided, enter candidate mode (see Process step 1b).

If product_slug is not provided, run across all products in the project and return one result block per product. candidates_file, when provided, is always filtered by the active product_slug just like the files in features/.

Process

  1. Glob and load. Use Glob and Read to load every features/*.json file matching the target product_slug. Tag each loaded feature with origin: "existing" in your working memory. If you need a precise file count, use the Bash tool — do not estimate.

Read the full file on GitHub · 277 lines

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. 6d ago First seen · 277 lines · 207 tokens per session scan A 88a389e9b612

Subscribe to this mod's changes

feature-deduplication-detector is an agent published in the GitHub repository cogni-work/insight-wave (13 stars, last pushed today), licensed Apache-2.0. It adds 207 tokens to every session and 3,206 once invoked, about $0.0010 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-09-04.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

scrum-master

Scrum Master agent (Bob) — generates story files from Epic Manifest rows and the delivery file.

LuisFelipeMoro/Harness-devkit · 24 tokens

onboard-guide

Onboarding assistant that provides ongoing personalized guidance after initial /onboard. Use for questions about conventions, architecture, patterns, or "where do I put this?" — answers are tailored to the engineer's background.

smicolon/ai-kit · 46 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

pm-advisor

You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".

VandanaAjayDubey111/great-pm · 123 tokens

goals-onboarding

Use this agent to set up the OKR/goals system for a new company or project. Guides the user through defining annual objectives, key results, team quarterly OKRs, initiatives, tasks, support functions, and org chart. Generates YAML files following the workspace goals schema. Examples: Context: User wants to set up…

41fred/ace-level1 · 206 tokens