genai-tk

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

A Python toolkit for building generative-AI and agent applications through YAML configuration, with integrations for language models, search, retrieval, and agents.

In plain words
What is it for?
Use it to configure language models, embeddings, retrieval-augmented generation, agents, tools, middleware, and command-line setup.
Why use it?
It provides one configuration-driven way to create these components across many model providers and application setups.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cli rag add-files my_vec ./docs/ # ingest.

Good fit Use it to configure language models, embeddings, retrieval-augmented generation, agents, tools, middleware, and command-line setup.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/svngoku/coding-agents-skills
agentmods
npx agentmods add skills/svngoku/coding-agents-skills/genai-tk-skill

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-skill/github.svg)](https://agentmods.dev/skills/svngoku/coding-agents-skills/genai-tk-skill)
Your own site
<a href="https://agentmods.dev/skills/svngoku/coding-agents-skills/genai-tk-skill"><img src="https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/genai-tk-skill/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-skill"><img src="https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/genai-tk-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 236 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,336 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.00236 $0.04336
Opus 5 $0.00118 $0.02168
Sonnet 5 $0.00047 $0.00867
Haiku 4.5 $0.00024 $0.00434

Measured 10d ago against content hash f9826e1daf55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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/SKILL.md · 337 lines

How it starts

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

genai-tk — GenAI & Agentic Toolkit

genai-tk (https://github.com/tclatos/genai-tk) is a Python toolkit that wraps LangChain, LangGraph, and 100+ LLM providers into a YAML-driven, configuration-first architecture. It's not a framework you build into — it's an inversion-of-control layer where profiles in YAML drive factories that produce LangChain runtime objects (LLMs, embeddings, retrievers, agents).

The mental model:

config/*.yaml ──► global_config() ──► Factory ──► LangChain object ──► your code

Quick Reference

Topic Reference
Agent frameworks: ReAct, Deep, Deer-flow, SmolAgents — profiles, tools, middleware, MCP, sandbox, skills agents.md
RAG: RetrieverFactory, ManagedRetriever, the six retriever types, ingestion rag.md
Configuration: global_config(), app_conf.yaml, :merge, environments, model_id@provider configuration.md
CLI: cli init, command groups, extending the CLI with CliTopCommand cli-and-init.md
BAML structured extraction with BamlStructuredProcessor baml-structured.md

Installation

The toolkit is installed via uv and is not on PyPI — install from the GitHub repo:

# Add to existing project
uv add git+https://github.com/tclatos/genai-tk@main

# With extras (postgres, browser, evals)
uv add "genai-tk[extra] @ git+https://github.com/tclatos/genai-tk@main"

# Development (clone & edit)
git clone https://github.com/tclatos/genai-tk.git && cd genai-tk
uv sync                    # core + dev
uv sync --all-groups       # + postgres, browser, evals

After install, scaffold a project:

uv run cli init --name "My AI Project"   # full scaffold (recommended)
uv run cli init --minimal                 # config + Makefile only
uv run cli init --deer-flow               # also clone Deer-flow backend
uv sync

Read the full file on GitHub · 337 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. 10d ago First seen · 337 lines · 236 tokens per session scan A f9826e1daf55

Subscribe to this mod's changes

genai-tk is a skill published in the GitHub repository svngoku/coding-agents-skills (11 stars, last pushed 27d ago), licensed MIT. It adds 236 tokens to every session and 4,336 once invoked, about $0.0012 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-08-31.

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

multi-agent-orchestration

Expert guide for designing and orchestrating multi-agent systems, agent swarms, graph-based workflows (LangGraph, CrewAI, AutoGen), shared state memory, and human-in-the-loop guardrails in English and Indonesian.

roedyrustam/vibes-plug · 50 tokens

ai-media-generation-expert

Expert guide for AI image generation (Flux, DALL-E, Stable Diffusion), video generation (Sora, Runway), voice synthesis (ElevenLabs TTS), and speech recognition (Whisper STT) integration / Panduan ahli integrasi AI generasi gambar, video, suara (TTS), dan pengenalan suara (STT).

roedyrustam/vibes-plug · 78 tokens

ai-cost-token-optimizer

Expert guide for LLM API cost optimization, Prompt Caching, model routing (Flash/Pro/Opus), semantic caching, and token budgeting / Panduan ahli optimasi biaya API LLM, Prompt Caching, model routing, dan semantic caching.

roedyrustam/vibes-plug · 57 tokens

vector-db-rag-expert

Expert guide for high-performance Vector Databases, RAG architectures, pgvector HNSW indexing, hybrid search (Dense + BM25), and semantic chunking / Panduan ahli Vector DB, arsitektur RAG, pgvector HNSW, dan hybrid search.

roedyrustam/vibes-plug · 62 tokens

ai-llm-integration-expert

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

roedyrustam/vibes-plug · 67 tokens