Skip to content

donaldfilimon/abi / .agents/skills/context-state

context-state

Verified

FileKindSize
SKILL.mdskill md1.7 KB
---
name: context-state
description: Show or reset abi agent context: report history, file mentions and session data (`/context` in abi agent tui), or clear history, file mentions and transient state (`/reset`).
---

# Agent context state

Merged from the former `context-state-reporter` and `context-resetter` skills on 2026-09-21.

## Context State Reporter

*Use when:* Show current agent context state including history, file mentions, and session data. Maps to `/context` slash command in abi agent tui.

Reports the current state of the agent REPL context.

### Usage

```
/context
```

### Output Includes

- Turn history (last 10 entries by default)
- Current file mentions in context
- Session name if saved
- Learning mode status
- Active model/profile

### Implementation

Reads `ReplState` from `crates/abi-cli/src/terminal.rs`:
- `turn_history` ring buffer
- `file_mentions` cache
- `learn_mode` flag
- `current_model` selection

### Skill Integration

Direct mapping to `abi agent tui` REPL `/context` command.

## Context Resetter

*Use when:* Reset agent context - clear history, file mentions, and transient state. Maps to `/reset` slash command in abi agent tui.

Clears all transient agent context state for a fresh start.

### Usage

```
/reset
```

### Cleared State

- Turn history (all entries)
- File mentions cache
- Input buffer
- Streaming state

### Preserved State

- Model/profile selection
- Learning mode setting
- Session name (if loaded)
- Feature flags

### Implementation

Calls `clearTurnHistory()` and resets `ReplState` fields in `crates/abi-cli/src/terminal.rs`:
- `turn_history` = empty ring buffer
- `file_mentions` = empty
- `input_buffer` = empty

### Skill Integration

Maps to `abi agent tui` REPL `/reset` command.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall