ip-intelligence: Agent for Claude Code

.claude/agents/feed-builder.md

feed-builder is an agent for Claude Code from ard1102/ip-intelligence. It costs 143 tokens per session (2,471 once invoked), scanned A, original, MIT.

A coding specialist for building feed-updater scripts in the IP Intel Platform, a system that collects threat-intelligence data. It follows the project's required process for fetching, checking, and storing each feed.

In plain words
What is it for?
Use it when creating or changing files in app/updaters/ to fetch threat feeds, parse their records, validate their size, update IntelStore, and return a clear success or failure result.
Why use it?
It removes the need to remember the updater interface, feed mappings, validation rules, and error-handling requirements for each script.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is ard1102/ip-intelligence's own configuration. It tells Claude Code how to work on ip-intelligence itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ip-intelligence configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ard1102/ip-intelligence. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ard1102/ip-intelligence/master/.claude/agents/feed-builder.md
Clone the repo
git clone --depth 1 https://github.com/ard1102/ip-intelligence

Made for: Claude Code.

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 feed-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/ard1102/ip-intelligence/feed-builder/github.svg)](https://agentmods.dev/agents/ard1102/ip-intelligence/feed-builder)
Your own site
<a href="https://agentmods.dev/agents/ard1102/ip-intelligence/feed-builder"><img src="https://agentmods.dev/badge/agents/ard1102/ip-intelligence/feed-builder/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 feed-builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/ard1102/ip-intelligence/feed-builder"><img src="https://agentmods.dev/badge/agents/ard1102/ip-intelligence/feed-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,471 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.00143 $0.02471
Opus 5.5 $0.00057 $0.00988
Sonnet 5.5 $0.00029 $0.00494
Haiku 4.5 $0.00014 $0.00247

Measured 2mo ago against content hash 45cd12c5242d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

feed-builder 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 2mo 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.

.claude/agents/feed-builder.md · 246 lines

How it starts

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

You are a Feed Builder specialist for the IP Intel Platform. Your job is to implement feed updater scripts that ingest raw threat intelligence data and load it into the IntelStore.

Your Updater Contract

Every updater script you write must:

  1. Be a single async function: async def update_{feed_id}(store: IntelStore, config: FeedConfig) -> UpdateResult
  2. Fetch data using httpx.AsyncClient(timeout=30.0)
  3. Parse the raw response into the canonical data structure for that feed type
  4. Validate minimum record count from config.health_contract.min_records
  5. Call await store.swap(feed_id, new_data) — never write directly to store attributes
  6. Return UpdateResult(feed_id=..., record_count=..., success=True/False, error=None/str)
  7. Handle ALL exceptions — return UpdateResult(success=False, error=str(e)) rather than raising

UpdateResult model (from app/models/feeds.py — use these exact field names)

class UpdateResult(BaseModel):
    feed_id: str
    record_count: int = 0
    success: bool
    error: str | None = None
    updated_at: datetime = Field(default_factory=lambda: datetime.now(timezone.utc))

Feed Type → IntelStore Attribute Mapping

Feed ID Store attribute Data type
sapics_asn ip_bisect dict with keys "ipv4" and "ipv6", each a sorted
list of (start_int, end_int, asn, org, country)
tor_exits tor_set set[str]
emerging_threats et_set set[str]
spamhaus_drop drop_cidrs list[IPv4Network
feodo_tracker feodo_dict dict[str, dict] keyed by ip_address
blocklist_de bf_dict dict[str, set[str]] keyed by ip, value = services
cins_score cins_set set[str]
threatfox tf_dict dict[str, dict] keyed by ioc_value
alienvault_otx otx_dict dict[str, dict] keyed by indicator
shadowserver ss_dict dict[str, dict] keyed by ip

Read the full file on GitHub · 246 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. 2mo ago First seen · 246 lines · 143 tokens per session scan A 45cd12c5242d

Subscribe to this mod's changes

feed-builder is an agent published in the GitHub repository ard1102/ip-intelligence (0 stars, last pushed 3mo ago), licensed MIT. It adds 143 tokens to every session and 2,471 once invoked, about $0.0006 per session on Opus 5.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 agents, from other repositories

Email Intelligence Engineer

Expert in extracting structured, reasoning-ready data from raw email threads for AI agents and automation systems.

SHAdd0WTAka/Zen-Ai-Pentest · 22 tokens

scg-mapper

Maps a set of connectors into the Source Capability Graph (SCG) via a deterministic state machine — introspect, parse structure, link entities, finalize. Indexes reachability only, never the data behind it.

bearlike/Assistant · 48 tokens

ai-agent

AI feature implementation specialist. Handles STT, LLM, and AI service integration with context-aware patterns. Auto-discovers project conventions before implementing. Supports OpenAI, Anthropic, and other AI providers with streaming, error handling, and cost optimization.

wigtn/wigtn-plugins · 54 tokens

Specjalista od efektów specjalnych

Feature Dev implementuje zaawansowane funkcjonalności wymagające niszowej wiedzy: real-time, integracje AI/ML, wizualizacje danych, third-party API. Jego misja: robić rzeczy których zwykly Backend lub Frontend Dev nie potrafi. Działa gdy trzeba wyjść poza standardowy CRUD.

TheJacksonCode/Agent-Architecture · 82 tokens

openai-api-expert

Integrates OpenAI APIs with robust prompting, tool calling, and evaluation workflows across products and services.

NickCrew/Claude-Cortex · 26 tokens

ai-engineer

Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use proactively for LLM features, chatbots, or AI-powered applications.

NickCrew/Claude-Cortex · 47 tokens