setup-temporal-workflows-test

setup-temporal-workflows-test is a skill for Claude Code, Codex from canonical/copilot-collections. It costs 104 tokens per session (1,395 once invoked), scanned A, original, Apache-2.0.

A setup guide for testing Python Temporal workflows in three layers: small code tests, activity tests, and workflow tests. Temporal is a system for running reliable, long-lived background processes.

In plain words
What is it for?
Use it to set up or verify tests under tests/unit, tests/activity, and tests/workflow, plus matching Makefile and GitHub Actions CI commands for a selected workflow project.
Why use it?
It removes the need to create the test folders, Makefile commands, and continuous-integration checks by hand. It also makes each test layer runnable separately in a monorepo, a repository containing several related projects.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up or verify tests under tests/unit, tests/activity, and tests/workflow, plus matching Makefile and GitHub Actions CI commands for a selected workflow project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/canonical/copilot-collections/setup-temporal-workflows-test
About the project

Canonical Copilot Collections is a repository for organizing and distributing GitHub Copilot instructions, prompts, agents, and skills across Canonical repositories. Teams configure repositories to subscribe to shared collections, such as Python, documentation, or Juju development guidance, and keep those assets synchronized.

canonical/copilot-collections · 33 stars · on GitHub

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 canonical/copilot-collections --skill setup-temporal-workflows-test
Clone the repo
git clone --depth 1 https://github.com/canonical/copilot-collections

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 setup-temporal-workflows-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/canonical/copilot-collections/setup-temporal-workflows-test/github.svg)](https://agentmods.dev/skills/canonical/copilot-collections/setup-temporal-workflows-test)
Your own site
<a href="https://agentmods.dev/skills/canonical/copilot-collections/setup-temporal-workflows-test"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/setup-temporal-workflows-test/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 setup-temporal-workflows-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/canonical/copilot-collections/setup-temporal-workflows-test"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/setup-temporal-workflows-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,395 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.00104 $0.01395
Opus 5.5 $0.00042 $0.00558
Sonnet 5.5 $0.00021 $0.00279
Haiku 4.5 $0.00010 $0.00139

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

Security

Grade A, and why

setup-temporal-workflows-test 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.

groups/business-data/skills/setup-temporal-workflows-test/SKILL.md · 130 lines

How it starts

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

Setup Temporal Workflows Test Structure

Ensures a Python Temporal workflow project has the standard three-layer test layout (unit, activity, workflow), Makefile targets to run each layer individually and all together, and a CI workflow that runs each layer as a separate step via make.

This repository is a monorepo where each Temporal project lives under workflows/<project_name>/ with its own Makefile, pyproject.toml, and tests/ directory (see workflows/template/ for the canonical layout). Always determine the target project directory first — do not assume the repository root. If the user did not specify a project, ask which workflows/<name>/ directory to operate on, or infer it from the current working directory.

Procedure

1. Ensure tests/unit, tests/activity, tests/workflow subdirectories exist

In the target project directory:

  • Check whether tests/unit, tests/activity, and tests/workflow already exist.
  • Create any that are missing with mkdir -p.
  • If the project's existing tests use tests/__init__.py (check the current tests/ directory), add matching empty __init__.py files to each new subdirectory for consistency.
  • Do not move existing test files automatically — flag any tests sitting directly in tests/ that look like they belong in one of the three layers, and ask the user before moving them, since this can break coverage/CI expectations if done blindly.

2. Ensure Makefile has test, test-unit, test-activity, test-workflow targets

Read the project's Makefile first. Follow its existing conventions (e.g. $(POETRY) run $(PYTEST), --cov=$(PY_PACKAGE) flag, .PHONY declarations) instead of inventing a new style. A typical existing test target looks like:

.PHONY: test
test: ## Run tests
	$(POETRY) run $(PYTEST) --cov=$(PY_PACKAGE) tests

Rework it into four targets, each .PHONY, using the same pytest invocation style but scoped to the relevant subdirectory, with test depending on the other three so make test still runs everything:

Read the full file on GitHub · 130 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 · 130 lines · 104 tokens per session scan A 6d7c5e67d9f4

Subscribe to this mod's changes

setup-temporal-workflows-test is a skill published in the GitHub repository canonical/copilot-collections (33 stars, last pushed 15d ago), licensed Apache-2.0. It adds 104 tokens to every session and 1,395 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-10-29.

Related

setup-temporal-workflows-test compared with skills from other repositories

setup-temporal-workflows-test next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-temporal-workflows-testcanonical/copilot-collectionsSkill3315d agoApache-2.0A104Claude Code, Codex
pennylaneK-Dense-AI/scientific-agent-skillsSkill59ktodayMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill4.2ktodayApache-2.0A34Claude Code, Codex
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill3.9kyesterdayApache-2.0A75Codex
future-self-liteTHU-MAIC/OpenMAICSkill45ktodayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill796yesterdayApache-2.0A93Claude Code
typing-exclusion-workergetsentry/skillsSkill1.2k16d agoApache-2.0A57Claude Code