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

Analyze Context

ASecurity

Analyzes a gameplay session context dump from Gradient Bang. Summarizes agent activity and, if the user reports a problem, identifies where it occurred and scans source code for the root cause.

419 stars
0 votes
0 copies
0 views
Added 9/20/2026
researchgodebugging

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add pipecat-ai/gradient-bang --skill analyze-context --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analyze Context?

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

Security grade badge for Analyze Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pipecat-ai-analyze-context/badge)](https://www.skillsdirectory.com/skills/pipecat-ai-analyze-context)

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

Download Zip
Files
SKILL.md
# Analyze Context

Analyzes a gameplay session context dump from Gradient Bang. Summarizes agent activity and, if the user reports a problem, identifies where it occurred and scans source code for the root cause.

## Parameters

- **context** (required): The gameplay session context dump (paste inline or provide a file path).
- **problem** (optional): A description of what went wrong during the session.

## Steps

### 1. Receive input

The user provides a context dump, either inline in the message or as a file path. If they provide a file path, read the file. If neither is provided, check whether there is a currently open file in the IDE (it will appear in the conversation context tagged as `ide_opened_file`). If there is, read that file and use it as the context dump. If there is no open file either, ask:

> "Please paste your context dump or provide a file path."

### 2. Check for a stated problem

- If the user described a problem (e.g. "the agent crashed", "it bought the wrong thing", "task agent got stuck"), proceed to the full analysis flow below.
- If no problem was mentioned, ask:

> "Did anything go wrong during this session, or do you just want a summary?"

  - If they say nothing went wrong (or just want a summary): produce **Summary only** (Step 3) and stop.
  - If they describe a problem: continue with Steps 4–5.

### 3. Summarize the session

Scan the full context dump and produce a **terse, factual summary**:

- What the VoiceAgent was instructed to do and what it did (high-level player intent + agent actions)
- What TaskAgent(s) were spawned, what they attempted, and whether they completed
- Any notable game events (combat, trades, movement, errors surfaced in messages)

Keep this section short — bullet points preferred, no padding.

### 4. Locate the issue in the context (only if a problem was stated)

Scan the context for evidence of the problem:

- Quote the specific message(s) where the issue appears (role, brief content excerpt, approximate position in the context)
- Note which agent produced it (VoiceAgent, TaskAgent, UIAgent, EventRelay, MainAgent)
- Note what preceded the failure (last successful action before the bad state)

### 5. Identify root cause in source code (only if a problem was stated)

Using the issue location and agent identified in Step 4, read the relevant source files:

- `src/gradientbang/pipecat_server/bot.py` — pipeline wiring, MainAgent
- `src/gradientbang/pipecat_server/subagents/voice_agent.py`
- `src/gradientbang/pipecat_server/subagents/task_agent.py`
- `src/gradientbang/pipecat_server/subagents/event_relay.py`
- `src/gradientbang/pipecat_server/subagents/ui_agent.py`
- `src/gradientbang/tools/` — tool schemas

Focus on:
- The code path that handles the event/tool/message where the failure occurred
- Any recent changes visible in the code that could explain the problem (mismatched parameters, missing attributes, wrong routing logic, incorrect tool schemas)

Cite file paths and line numbers for every suspect location.

### 6. Output

Produce the final report in exactly this format:

```
## Summary of session
<terse bullet-point summary of VoiceAgent and TaskAgent activity>

## Cited issue(s)
<quoted excerpt(s) from the context showing where the problem occurred, with agent attribution and context position>
<file:line references from source code identified as the likely cause>

## Potential fixes
<concrete, specific suggested code changes with file:line references>
```

If no problem was reported and the user confirmed they just want a summary, omit **Cited issue(s)** and **Potential fixes** entirely.

## Important notes

- Never speculate — only cite what is observable in the context dump or verifiable in source files.
- If you cannot locate the issue in source, say so explicitly rather than guessing.
- Keep the summary terse — this is a debugging aid, not a narrative.
- Tool schemas live in `src/gradientbang/tools/` and are shared across VoiceAgent, TaskAgent, and UIAgent — check there when a tool call looks malformed.
- **Never make any code changes.** This skill is read-only analysis only — do not edit, write, or modify any source files.

Attribution

pipecat-aipipecat-ai
View sourceMore from pipecat-ai →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

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

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Competitor Analysis

This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.

1823 votes

Deep Research

Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 7 modes: full research, quick brief, paper review, lit-review, fact-check, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, Socratic mentoring, methodology design, systematic literature search, source verification, cross-source synthesis, risk of bias assessment, meta-analysis, APA 7.0 report compilation, editorial review...

452202 votes

Paperclip Distill

Use when an operation issue is a Paperclip cursor-window, distill, or backfill — `operationType: "distill"` or `"backfill"` and the body references a Paperclip source bundle for a project or root issue. Turn raw Paperclip activity into a wiki-insightful project page, decisions log, and history note. This skill exists specifically to replace the stiff, datestamp-heavy templated output that the deterministic distiller produces.

805541 votes

Academic Pipeline

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publi...

452201 votes

Exa Search

Semantic search, similar content discovery, and structured research using Exa API

304951 votes
View all in research →