create-atomic-context-provider

create-atomic-context-provider is a skill for Claude Code from Eigenwise/atomic-agents. It costs 106 tokens per session (1,770 once invoked), scanned A, original, MIT.

A guide for adding changing information to an Atomic Agents agent's instructions at runtime. A context provider can supply data such as the current time, user details, retrieved documents, session state, or a database schema.

In plain words
What is it for?
Use it to inject live or retrieved data into prompts, share session state, provide user identity, or refresh information before an agent call.
Why use it?
It keeps the agent's main instructions reusable while supplying information that may differ between runs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the atomic-agents plugin — 7 skills, 2 agents shipped together

Good fit Use it to inject live or retrieved data into prompts, share session state, provide user identity, or refresh information before an agent call.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eigenwise/atomic-agents/create-atomic-context-provider
About the project

Atomic Agents is a lightweight, modular framework for assembling AI agents and applications from single-purpose components such as agents, tools, and context providers. It is for developers building maintainable agentic AI pipelines with reusable, composable parts and structured outputs. The catalogue entries provide agent skills, instructions, settings, and related development workflows for the framework.

Eigenwise/atomic-agents · 6,287 stars · on GitHub · eigenwise.github.io

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 Eigenwise/atomic-agents --skill create-atomic-context-provider
Clone the repo
git clone --depth 1 https://github.com/Eigenwise/atomic-agents

Made for: Claude Code.

Or install atomic-agents, the plugin that ships this one along with the rest of its 7 skills, 2 agents.

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 create-atomic-context-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/eigenwise/atomic-agents/create-atomic-context-provider/github.svg)](https://agentmods.dev/skills/eigenwise/atomic-agents/create-atomic-context-provider)
Your own site
<a href="https://agentmods.dev/skills/eigenwise/atomic-agents/create-atomic-context-provider"><img src="https://agentmods.dev/badge/skills/eigenwise/atomic-agents/create-atomic-context-provider/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 create-atomic-context-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/eigenwise/atomic-agents/create-atomic-context-provider"><img src="https://agentmods.dev/badge/skills/eigenwise/atomic-agents/create-atomic-context-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,770 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00106 $0.01770
Opus 5.5 $0.00042 $0.00708
Sonnet 5.5 $0.00021 $0.00354
Haiku 4.5 $0.00011 $0.00177

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

Security

Grade A, and why

create-atomic-context-provider 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.

claude-plugin/atomic-agents/skills/create-atomic-context-provider/SKILL.md · 208 lines

How it starts

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

Create an Atomic Agents Context Provider

A context provider injects a named, titled block into the agent's system prompt at every run(). The base prompt stays static; the context is what changes between calls.

For deep material (caching strategies, async data sources, multi-agent sharing patterns), the authority is ../framework/references/context-providers.md. This skill is the action-oriented path: clarify → write → register.

When this fires vs the umbrella framework skill

  • This skill: the user wants to add a provider — "inject the user's name", "make the agent see the current time", "feed retrieved docs into the prompt", "share session state across two agents".
  • framework skill: questions about Atomic Agents in general, or about something other than authoring a provider.

Phase 1 — Clarify

Bundle into one message:

  1. What goes into the prompt? One sentence. Defines the provider's job.
  2. Where does the data come from? In-memory state mutated by your code? A vector DB lookup? A REST call? A clock?
  3. How fresh must it be? Per-run() (default), every N seconds (cache), or refreshed externally before each call (async data).
  4. Which agent(s)? One agent, or shared across multiple agents?

Skip what's already obvious from context.

Phase 2 — Plan

Confirm in one short block:

  • File: <project>/context_providers.py (or alongside the agent that owns it).
  • Class: <Topic>Ctx(BaseDynamicContextProvider).
  • Title (rendered as the section header in the prompt) — must be unique across providers on the same agent.
  • Update mechanism: mutate fields between run() calls (most common), set via a method, or await refresh() for async sources.

Phase 3 — Implement

Skeleton

from atomic_agents.context import BaseDynamicContextProvider


class UserCtx(BaseDynamicContextProvider):
    def __init__(self):
        super().__init__(title="User Context")
        self.name: str = ""
        self.role: str = ""

    def get_info(self) -> str:
        if not self.name:
            return "No user is logged in."
        return f"User: {self.name} (role: {self.role})"

Read the full file on GitHub · 208 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. 1mo ago First seen · 208 lines · 106 tokens per session scan A f98d497335fe

Subscribe to this mod's changes

create-atomic-context-provider is a skill published in the GitHub repository Eigenwise/atomic-agents (6,287 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 1,770 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-08-30.

Related

Other skills, from other repositories

mcp-builder

DEPRECATED: This skill has been replaced by mcp-app-builder. Check if mcp-app-builder is available in the skills folder. If not, install it: npx skills install mcp-use/mcp-use --skill mcp-app-builder Use mcp-app-builder instead of this skill. Build Model Context Protocol (MCP) servers with mcp-use framework. Use when…

Shubhamsaboo/awesome-llm-apps · 123 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens

hugging-face-model-trainer

This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV…

patchy631/ai-engineering-hub · 131 tokens

hugging-face-evaluation

Add and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content, importing scores from Artificial Analysis API, and running custom model evaluations with vLLM/lighteval. Works with the model-index metadata format.

patchy631/ai-engineering-hub · 55 tokens

hugging-face-datasets

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. Designed to work alongside HF MCP server for comprehensive dataset workflows.

patchy631/ai-engineering-hub · 49 tokens

hugging-face-cli

Execute Hugging Face Hub operations using the hf CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.

patchy631/ai-engineering-hub · 68 tokens