genai-tk

genai-tk is a skill for Claude Code, Codex from svngoku/coding-agents-skills. It costs 147 tokens per session (3,181 once invoked), scanned A, original, MIT.

A Python toolkit for building generative-AI and agent applications from YAML configuration. YAML is a human-readable configuration format used here to declare models, agents, retrieval tools and workflows without changing the library itself.

In plain words
What is it for?
It is for configuring language-model providers, agent profiles, retrievers, workflows and command-line runs, then connecting those definitions to Python components.
Why use it?
It keeps application setup in configuration and resolves the selected components at runtime. This can avoid hard-coding each model, agent or workflow choice in application code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit It is for configuring language-model providers, agent profiles, retrievers, workflows and command-line runs, then connecting those definitions to Python components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/svngoku/coding-agents-skills/genai-tk
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 svngoku/coding-agents-skills --skill genai-tk
Clone the repo
git clone --depth 1 https://github.com/svngoku/coding-agents-skills

Made for: Claude Code, 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 genai-tk

README.md
[![agentmods](https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/genai-tk/github.svg)](https://agentmods.dev/skills/svngoku/coding-agents-skills/genai-tk)
Your own site
<a href="https://agentmods.dev/skills/svngoku/coding-agents-skills/genai-tk"><img src="https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/genai-tk/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 genai-tk

Your own site · 80×15
<a href="https://agentmods.dev/skills/svngoku/coding-agents-skills/genai-tk"><img src="https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/genai-tk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,181 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.00147 $0.03181
Opus 5.5 $0.00059 $0.01272
Sonnet 5.5 $0.00029 $0.00636
Haiku 4.5 $0.00015 $0.00318

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

Security

Grade A, and why

genai-tk 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (graders/check.py, solutions/reference-langchain-agent-profile/use_agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/genai-tk/SKILL.md · 228 lines

How it starts

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

genai-tk — GenAI & Agentic Toolkit

genai-tk is a Python 3.12+ toolkit where YAML config drives everything: LLM providers, agent profiles, retrievers, workflows, and CLI commands are declared in config/*.yaml and resolved at runtime through an Inversion-of-Control registry (ImportResolver). You extend it by adding YAML entries that point at dotted Python paths, not by editing the library.

config/app_conf.yaml ─► global_config() ─► ImportResolver ─► factories / harness ─► LangChain objects

Verified against upstream commit 7fbd7a3 (2026-10-12). The toolkit moves fast and several upstream docs lag the code (see "Upstream doc drift" below). When docs and code disagree, trust the code.

Quick Reference

Topic Reference
Install, extras, cli init, full CLI command tree, CliTopCommand, cli skills, house conventions cli-and-init.md
app_conf.yaml, :merge, :profiles, GENAITK_PROFILE, typed config access, IoC configuration.md
get_llm / get_embeddings, model_id@provider, providers.yaml, reasoning effort, routing, decision models models.md
Agent profiles, harness layer, tools, middlewares, skills, sandbox, MCP, DeerFlow, CodeAct, trajectories agents.md
RetrieverFactory, ManagedRetriever, embeddings stores, chunkers, cli rag, RAG as a tool rag.md
YAML workflows, Prefect, ingest routing, markdownize converters workflows.md
BAML structured extraction: BamlStructuredProcessor, baml_invoke, cli baml baml-structured.md

Core Workflow

1. Install and scaffold

genai-tk is not on PyPI. Install from git with uv, then scaffold:

uv init my-app && cd my-app
uv add "genai-tk @ git+https://github.com/tclatos/genai-tk@main"
uv run cli init --name "My Agent App"                  # scaffolds config/, skills/, justfile; runs uv sync
uv run cli init --extra harnessing --extra browser     # also install DeepAgents/DeerFlow + Playwright
just run                                               # uv run cli agent chat

Read the full file on GitHub · 228 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. 5d ago First seen · 228 lines · 147 tokens per session scan A 5ebe6c1ab3c2

Subscribe to this mod's changes

genai-tk is a skill published in the GitHub repository svngoku/coding-agents-skills (12 stars, last pushed yesterday), licensed MIT. It adds 147 tokens to every session and 3,181 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-10-14.

Related

Other skills, from other repositories

iflytek-image-understanding

An image-analysis tool that describes pictures and answers questions about what they contain. It uses an AI vision service, which interprets visual content rather than only reading text files.

iflytek/iFly-Skills · 61 tokens

ai-llm-integration-expert

Expert guide for integrating Large Language Models (LLMs), Model Context Protocol (MCP v1.x), hybrid reasoning models, RAG architecture, vector databases, and AI agents / Panduan ahli untuk integrasi LLM, Model Context Protocol (MCP), model hybrid reasoning, arsitektur RAG, vector database, dan agen AI.

roedyrustam/vibes-plug · 78 tokens

multi-agent-orchestration

Expert guide for designing and orchestrating multi-agent systems, agent swarms, 2026 Anthropic agentic design patterns, graph-based workflows (LangGraph, OpenAI Agents SDK, Google ADK, Mastra.ai), shared state memory, and human-in-the-loop guardrails in English and Indonesian.

roedyrustam/vibes-plug · 67 tokens

llm-finops-router

Expert guide for AI FinOps, dynamic model routing (LiteLLM, Portkey, RouteLLM), cost optimization, budget enforcement, semantic caching, and latency-based fallback architectures / Panduan ahli untuk AI FinOps, routing model dinamis, optimasi biaya, penegakan anggaran, semantic caching, dan arsitektur fallback berbasis…

roedyrustam/vibes-plug · 79 tokens

vercel-ai-sdk-expert

Expert guide for Vercel AI SDK (Core, UI, RSC), streaming structured data, multi-provider model switching, tool calling loops, and React 19/Next.js 15 AI engineering / Panduan ahli Vercel AI SDK, streaming data terstruktur, dan integrasi AI pada React 19/Next.js 15.

roedyrustam/vibes-plug · 76 tokens

adaptive-model-cascade

Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor…

roedyrustam/vibes-plug · 112 tokens