arch-knowledge-search

arch-knowledge-search is a skill for Codex from Koredotcom/agents-mcp-tools. It costs 103 tokens per session (1,926 once invoked), scanned A, original, MIT.

A guide for setting up and troubleshooting knowledge bases used by AI agents on the Kore.ai Agent Platform. A knowledge base is a searchable collection of documents that an agent can consult when answering questions.

In plain words
What is it for?
Use it to configure document ingestion and chunking, tune search and retrieval settings, check permissions and citations, and diagnose missing or poorly grounded answers.
Why use it?
An answer can be wrong because a document was not indexed, the search returned the wrong passage, the passage was cut short, or the agent ignored it. This workflow separates those causes before suggesting changes.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to configure document ingestion and chunking, tune search and retrieval settings, check permissions and citations, and diagnose missing or poorly grounded answers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/koredotcom/agents-mcp-tools/arch-knowledge-search
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.

Any agent
npx skills add Koredotcom/agents-mcp-tools --skill arch-knowledge-search
Clone the repo
git clone --depth 1 https://github.com/Koredotcom/agents-mcp-tools

Made for: Codex.

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 arch-knowledge-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/koredotcom/agents-mcp-tools/arch-knowledge-search/github.svg)](https://agentmods.dev/skills/koredotcom/agents-mcp-tools/arch-knowledge-search)
Your own site
<a href="https://agentmods.dev/skills/koredotcom/agents-mcp-tools/arch-knowledge-search"><img src="https://agentmods.dev/badge/skills/koredotcom/agents-mcp-tools/arch-knowledge-search/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 arch-knowledge-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/koredotcom/agents-mcp-tools/arch-knowledge-search"><img src="https://agentmods.dev/badge/skills/koredotcom/agents-mcp-tools/arch-knowledge-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,926 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.00103 $0.01926
Opus 5.5 $0.00041 $0.00770
Sonnet 5.5 $0.00021 $0.00385
Haiku 4.5 $0.00010 $0.00193

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

Security

Grade A, and why

arch-knowledge-search 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 1mo 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.

skills/arch-knowledge-search/SKILL.md · 120 lines

How it starts

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

A wrong knowledge-base answer has one of four causes: the document never got indexed, the search did not return the right chunk, the chunk was cut by a budget, or the model ignored it. Find which one from the evidence before changing anything.

How an agent uses a knowledge base

  • Each knowledge base is bound as a project tool, search_kb_<name>(query) with type: searchai. The binding can carry search_instructions, retrieval_profile and the release-dependent kb_fast_path. An agent file can set search_instructions, compaction: and kb_fast_path for the tool (its kb_fast_path choice wins); its search_instructions is ignored when the project tool already has some.
  • The model picks between knowledge bases by their descriptions, so write a specific one for each.
  • Search parameters (queryType, filters, topK, similarityThreshold) can be declared in the tool signature; the runtime may also add query type and filters when search instructions call for them. Filters the model chooses are kept only when grounded in the user's words, and filters must be an array. A filter that must always apply belongs in the tool's enforced inputs.
  • Citations: when on, the model cites with [n] and text channels add a "Sources:" list. Citations are set per tool in current releases (in 1.7.3, one knowledge base with citations off turned them off for all).
  • Automatic first search. For an agent whose only business tool is one knowledge base (not a router or orchestrator, no handoff or delegate tools, no GATHER fields with inline gather), the platform can search before the first model call and save a model round. In release 1.7.3 it is always on for agents that qualify, skips the tool's hooks and MODEL_CONTEXT, and shows the model only the last 5 earlier messages. Later releases make it opt-in per tool with kb_fast_path: on, run it as a normal tool call, and exclude tools with confirmation or on_result/on_error actions. Check which release the project runs.

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 120 lines · 103 tokens per session scan A 5b34a64d1a8b

Subscribe to this mod's changes

arch-knowledge-search is a skill published in the GitHub repository Koredotcom/agents-mcp-tools (4 stars, last pushed 1mo ago), licensed MIT. It adds 103 tokens to every session and 1,926 once invoked, about $0.0004 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-10-09.

Related

arch-knowledge-search compared with skills from other repositories

arch-knowledge-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
arch-knowledge-searchKoredotcom/agents-mcp-toolsSkill41mo agoMITA103Codex
embeddingsruvnet/rufloSkill82ktodayMITA62Claude Code
agent-platform-rag-engine-managementgoogle/skillsSkill24ktodayApache-2.0A85Claude Code, Codex
llm-app-patternsdavila7/claude-code-templatesSkill33kyesterdayMITA54Claude Code, Codex
9router-embeddingsdecolua/9routerSkill32ktodayMITA66Claude Code, Codex
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.8k4d agoApache-2.0A30Claude Code, Codex
embedding-strategiesforyourhealth111-pixel/Vibe-SkillsSkill3.8k4d agoApache-2.0A37Claude Code, Codex