Borrowing it
Nothing to install: this file belongs to jenreh/appkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jenreh/appkit/main/.claude/skills/appkit-commons/SKILL.mdgit clone --depth 1 https://github.com/jenreh/appkitWrote 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.
[](https://agentmods.dev/skills/jenreh/appkit/appkit-commons)<a href="https://agentmods.dev/skills/jenreh/appkit/appkit-commons"><img src="https://agentmods.dev/badge/skills/jenreh/appkit/appkit-commons/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.
<a href="https://agentmods.dev/skills/jenreh/appkit/appkit-commons"><img src="https://agentmods.dev/badge/skills/jenreh/appkit/appkit-commons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.02673 |
| Opus 5.5 | $0.00029 | $0.01069 |
| Sonnet 5.5 | $0.00014 | $0.00535 |
| Haiku 4.5 | $0.00007 | $0.00267 |
Grade A, and why
appkit-commons 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.
How it starts
The opening of the file, as written. The whole thing — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.
appkit-commons Best Practices
Read before writing any new feature. Covers configuration, DI, persistence, and scheduling.
1. Configuration
App initialization pattern
Define a cached configure() function in config.py. Call it from __init__.py before anything else.
# config.py
from functools import lru_cache
from appkit_commons.configuration import BaseConfig
from appkit_commons.configuration.configuration import Configuration, Environment
from appkit_commons.registry import service_registry
class MyFeatureConfig(BaseConfig):
api_url: str | None = None
api_key: str = ""
class ApplicationConfig(BaseConfig):
version: str
name: str
logging: str
environment: Environment | None = Environment.local
my_feature: MyFeatureConfig = MyFeatureConfig()
@lru_cache(maxsize=1)
def configure() -> Configuration[ApplicationConfig]:
return service_registry().configure(ApplicationConfig, env_file=".env")
# __init__.py
import logging
from dotenv import load_dotenv
from myapp.config import configure
from appkit_commons.configuration.logging import init_logging
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
load_dotenv(override=True)
configuration = configure()
init_logging(configuration)
service_registry().configure() auto-registers every nested config object by its own type —
ApplicationConfig, MyFeatureConfig, DatabaseConfig, ServerConfig, etc. are all retrievable after this call.
Accessing config anywhere
Use service_registry().get() with the exact config class. Always call inside functions/methods, never at module level.
from appkit_commons.registry import service_registry
from myapp.config import ApplicationConfig, LlmConfig, MyFeatureConfig
# top-level app config
cfg = service_registry().get(ApplicationConfig)
log.info("Starting %s v%s", cfg.name, cfg.version)
# nested sub-config — registered automatically by configure()
llm_cfg = service_registry().get(LlmConfig)
feature_cfg = service_registry().get(MyFeatureConfig)
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.
- 1mo ago First seen · 405 lines · 72 tokens per session scan A db7edcf3ef83
appkit-commons is a skill published in the GitHub repository jenreh/appkit (4 stars, last pushed 2d ago), licensed MIT. It adds 72 tokens to every session and 2,673 once invoked, about $0.0003 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.
Other skills, from other repositories
architecture-diagram
Create a professional, dark-themed software/system architecture diagram as a single self-contained HTML file with inline SVG. Use when asked to visualize system components, layers, services, or how parts of a codebase fit together.
nanobanana
Generate and edit real images with Gemini's Nano Banana — game sprites, sprite sheets and animated GIFs, illustrated icons, textures, mockups, photo edits, background removal. Use whenever a task needs a raster image that cannot be hand-written as SVG or CSS, when asked to "make a sprite", "draw", "generate an image"…
python-patterns
Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.
schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
matlab
Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…