continuum-testing

continuum-testing is a skill for Claude Code from shyftlabs/continuum. It costs 80 tokens per session (1,712 once invoked), scanned A, original, Apache-2.0.

A testing guide for Continuum agents that shows how to replace language-model and memory services with test doubles and check agent replies.

In plain words
What is it for?
Use it to write pytest tests, simulate sessions with fakeredis, compare replies with saved snapshots, and validate agents in CI.
Why use it?
It lets you test agent behavior without calling real services or keeping shared state between tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to write pytest tests, simulate sessions with fakeredis, compare replies with saved snapshots, and validate agents in CI.

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

Made for: Claude Code.

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 continuum-testing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shyftlabs/continuum/continuum-testing"><img src="https://agentmods.dev/badge/skills/shyftlabs/continuum/continuum-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,712 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.00080 $0.01712
Opus 5.5 $0.00032 $0.00685
Sonnet 5.5 $0.00016 $0.00342
Haiku 4.5 $0.00008 $0.00171

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

Security

Grade A, and why

continuum-testing 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/skills/continuum-testing/SKILL.md · 237 lines

How it starts

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

Continuum Testing Skill

Continuum's test-friendly seams:

  1. Container(ContainerConfig(auto_initialize=False)) — opt out of auto-init and inject mocks.
  2. Container.set_*_client(...) accepts the real client, a custom subclass, or any object satisfying the ILLMClient / IMemoryClient / ISessionClient protocols.
  3. fakeredis (a dev dependency) drops in for the Redis session provider.
  4. reset_container() and reset_global_memory() / reset_global_session() cleanly nuke globals between tests.

Imports

import pytest
from continuum.agent import AgentRunner, BaseAgent
from continuum.core.container import Container, ContainerConfig, reset_container
from continuum.llm.types import LLMResponse, StreamChunk, Usage
from continuum.protocols import ILLMClient

1. Mock LLM that satisfies ILLMClient

class MockLLM:
    is_enabled = True

    def __init__(self, replies: list[str]):
        self._replies = list(replies)

    async def chat(self, messages, **kw):
        text = self._replies.pop(0) if self._replies else "mock reply"
        return LLMResponse(model="mock", content=text, role="assistant",
                           usage=Usage(prompt_tokens=10, completion_tokens=5,
                                       total_tokens=15))

    async def chat_stream(self, messages, **kw):
        text = self._replies.pop(0) if self._replies else "mock reply"
        for ch in text:
            yield StreamChunk(model="mock", content=ch)
        yield StreamChunk(model="mock", is_finished=True)

    def count_tokens(self, messages, model=None) -> int:
        return sum(len(m.get("content", "")) // 4 for m in messages)

Wire it into the container:

container = Container(ContainerConfig(auto_initialize=False))
container.set_llm_client(MockLLM(["Hello, world!"]))
container.set_memory_client(None)
container.set_session_client(None)

runner = AgentRunner(container=container)
agent = BaseAgent(name="t", instructions="...")
resp = await runner.run(agent, "anything")
assert resp.content == "Hello, world!"

Read the full file on GitHub · 237 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 · 237 lines · 80 tokens per session scan A 3c55ae851c7a

Subscribe to this mod's changes

continuum-testing is a skill published in the GitHub repository shyftlabs/continuum (84 stars, last pushed 11d ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,712 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-09-03.

Related

Other skills, from other repositories

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

wshobson/agents · 46 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

data-quality-frameworks

Implement data quality validation with Great Expectations, dbt tests, and data contracts. Use when building data quality pipelines, implementing validation rules, or establishing data contracts.

wshobson/agents · 37 tokens

dbt-transformation-patterns

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

wshobson/agents · 47 tokens

python-testing

Guidelines for writing and running tests in the Agent Framework Python codebase. Use this when creating, modifying, or running tests.

microsoft/agent-framework · 29 tokens

principle-test-behavior-not-implementation

Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals change.

michael-denyer/pstack-claude · 50 tokens