autonomous-ai-agency: Skill for Claude Code

.agents/skills/duplicate-thread/SKILL.md

duplicate-thread is a skill for Claude Code, Codex from strikersam/autonomous-ai-agency. It costs 0 tokens per session (738 once invoked), scanned A, original, MIT.

A way to copy an existing plan, task thread, or agent session into a separate working thread.

In plain words
What is it for?
Use it to test risky refactors, compare implementation strategies, resume from a checkpoint with different settings, or create separate staging and production plans.
Why use it?
It lets you try a different approach while keeping the original plan and its context intact.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is strikersam/autonomous-ai-agency's own configuration. It tells Claude Code and Codex how to work on autonomous-ai-agency itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything autonomous-ai-agency configures →

Reuse

Borrowing it

Nothing to install: this file belongs to strikersam/autonomous-ai-agency. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/strikersam/autonomous-ai-agency/master/.agents/skills/duplicate-thread/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

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 duplicate-thread

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/duplicate-thread/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/duplicate-thread)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/duplicate-thread"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/duplicate-thread/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 duplicate-thread

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/duplicate-thread"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/duplicate-thread.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 738 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.00000 $0.00738
Opus 5 $0.00000 $0.00369
Sonnet 5 $0.00000 $0.00148
Haiku 4.5 $0.00000 $0.00074

Measured 11d ago against content hash f2d247677f19, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

duplicate-thread 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (duplicate.sh), 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.

.agents/skills/duplicate-thread/SKILL.md · 91 lines

How it starts

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

Skill: duplicate-thread

Purpose

Clone an existing plan, task thread, or agent session so you can explore an alternative approach without losing the original. Analogous to "duplicate thread" in Copilot's mission control.

When to Use

  • You want to try a risky refactor without throwing away the current plan
  • A/B testing two implementation strategies in parallel
  • Resuming a stalled task from a known-good checkpoint with different parameters
  • Forking a plan for a different target environment (e.g., prod vs. staging)

How It Works

  1. Identify the source thread — a .claude/threads/<id>/ directory, a plan file, or a PLAN.md
  2. Copy it to a new thread ID with a meaningful suffix
  3. Stamp it with metadata (source thread, fork reason, timestamp)
  4. Continue in the new thread independently

Thread Directory Convention

.claude/threads/
  <thread-id>/
    PLAN.md          # the plan or task description
    CONTEXT.md       # accumulated context
    CHECKPOINT.md    # last known-good state (from checkpoint-strategy skill)
    meta.json        # thread metadata

Usage

Manual duplication

bash .agents/skills/duplicate-thread/duplicate.sh <source-thread-id> <reason>

Example:

bash .agents/skills/duplicate-thread/duplicate.sh plan-2025-01-15 "try-async-approach"
# Creates: .claude/threads/plan-2025-01-15--fork-try-async-approach/

In a Claude prompt

Duplicate the current thread as "alternative-auth-strategy" and in the fork,
replace the JWT approach with session cookies. Keep the original intact.

Claude will:

  1. Copy the current PLAN.md / CONTEXT.md to a new thread folder
  2. Apply the requested change only in the fork
  3. Proceed with the forked version, noting the original thread ID in meta.json

meta.json Schema

{
  "thread_id": "plan-2025-01-15--fork-try-async-approach",
  "forked_from": "plan-2025-01-15",
  "fork_reason": "try-async-approach",
  "forked_at": "2025-01-15T10:30:00Z",
  "status": "active"
}

Read the full file on GitHub · 91 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 91 lines · 0 tokens per session scan A f2d247677f19

Subscribe to this mod's changes

duplicate-thread is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 738 tokens. 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.