Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Thread To Action

ASecurity

Parses a pasted thread (Slack, email, GitHub, Teams), analyzes it against current git, Linear, and session context, and suggests actionable next steps — then executes them with confirmation. Use when pasting a conversation that implies developer actions.

4 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsbashgit

Works with

mcp

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add mostafa-drz/claude-skills --skill thread-to-action --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Thread To Action?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Thread To Action
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mostafa-drz-thread-to-action/badge)](https://www.skillsdirectory.com/skills/mostafa-drz-thread-to-action)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: thread-to-action
description: >-
  Parses a pasted thread (Slack, email, GitHub, Teams), analyzes it against current
  git, Linear, and session context, and suggests actionable next steps — then executes
  them with confirmation. Use when pasting a conversation that implies developer actions.
argument-hint: <paste thread here>
disable-model-invocation: true
allowed-tools:
  - AskUserQuestion
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
  - WebFetch
  - mcp__claude_ai_Linear__get_issue
  - mcp__claude_ai_Linear__list_issues
  - mcp__claude_ai_Linear__create_issue
  - mcp__claude_ai_Linear__update_issue
  - mcp__claude_ai_Linear__list_teams
  - mcp__claude_ai_Linear__list_projects
  - mcp__claude_ai_Linear__list_issue_labels
  - mcp__claude_ai_Linear__list_issue_statuses
  - mcp__claude_ai_Linear__create_comment
  - mcp__claude_ai_Linear__list_comments
metadata:
  trigger: "Pasting a conversation that implies developer actions."
  tags: "communication, automation, linear"
---

# Thread → Action

Analyze a pasted conversation thread and suggest concrete developer actions, then execute them with confirmation.

## Preferences

_Read `~/.claude/skills/thread-to-action/preferences.md` using the Read tool. If not found, no preferences are set._

## Context

_On startup, use Bash to detect: current git branch, recent commits (`git log --oneline -5`), git status, and open PRs (`gh pr list --author @me --state open --limit 5`). Skip any that fail._

## Command routing

Check `$ARGUMENTS`:

- **`help`** → display help then stop
- **`config`** → interactive setup then stop
- **`reset`** → delete `~/.claude/skills/thread-to-action/preferences.md`, confirm, stop
- **anything else** → process as thread

### Help

```
Thread → Action — Parse a thread and suggest developer actions

Usage:
  /thread-to-action <paste thread>    Analyze and suggest actions
  /thread-to-action config            Configure context sources and action types
  /thread-to-action reset             Clear preferences
  /thread-to-action help              This help

Context sources:
  Git:     branch, recent commits, status, open PRs
  Linear:  active issues, recent issues assigned to me
  Session: working directory, CLAUDE.md, prior conversation

Action types: Git/PR, Linear, Code, Cleanup
  See reference/action-types.md for full list

Current preferences:
  (shown above under Preferences)
```

### Config

Use **`AskUserQuestion`**:

**Q1** — "Which context sources should be active?" (multiSelect: true)
- Git context (branch, commits, status, PRs)
- Linear context (active issues, recent issues)
- Session context (working directory, CLAUDE.md)

**Q2** — "Default Linear filters?" (multiSelect: false)
- Use my assignments (default)
- Use specific team/project
- No Linear filtering

**Q3** — "Which action types to suggest?" (multiSelect: true)
- Git/PR actions
- Linear actions
- Code actions
- Cleanup actions

Save to `~/.claude/skills/thread-to-action/preferences.md`.

## First-time detection

If no preferences file exists, show:
"First time using /thread-to-action? Run `/thread-to-action config` to customize, or continue with defaults (all sources, all action types)."

Then proceed normally.

## Steps

### 1. Parse the thread

Analyze `$ARGUMENTS` and extract:
- **Participants**: Who and what roles
- **Topic**: Core subject
- **Decisions made**: Anything agreed upon
- **Action items**: Explicit or implied next steps
- **Links**: URLs to PRs, issues, docs — fetch and understand them
- **Blockers resolved**: Was something unblocked?
- **Status changes**: Did work item status change? ("merged it", "PR is ready", "deployed")

### 2. Fetch Linear context

Fetch in parallel (if Linear is enabled in preferences):
- Active issues assigned to me (state "In Progress" or "In Review")
- Recent issues I created (limit 5)

### 3. Cross-reference with context

Match thread content against gathered context:
- Do mentioned PRs match open PRs from git context?
- Do mentioned tickets match active Linear issues?
- Does the thread resolve a blocker for current work?
- Does it introduce new work needing tracking?
- Is the current branch related to the discussion?

### 4. Generate suggested actions

Suggest a numbered list. Each action has:
- **What**: Clear description
- **Why**: Connection to the thread
- **How**: Tool/command to use

See `reference/action-types.md` for common action types. Infer from context — the list is not exhaustive.

### 5. Present and confirm

```
Based on the thread, I suggest these actions:

1. [Action] — [Why]
2. [Action] — [Why]
3. [Action] — [Why]
```

Use **`AskUserQuestion`** (multiSelect: true):
- One option per action
- "Skip all"

### 6. Execute

For each confirmed action:
1. Announce what you're about to do
2. Execute it
3. Report result (success/failure, link to resource)
4. If failure, ask whether to continue

### 7. Summary

```
Actions completed: X
Actions skipped: Y
Actions failed: Z (with reasons)
Follow-up items: [if any]
```

### 8. Learn

If user consistently skips certain action types, note it in preferences.
If user corrects a suggestion pattern, save the preference silently.

Attribution

mostafa-drzmostafa-drz
View sourceMore from mostafa-drz →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →