Skip to content
Back to skills

Cogpit

ASecurity

Working inside Cogpit or against a Cogpit server. Recall and search earlier agent sessions with the cogpit-memory CLI, create and drive sessions over the Cogpit HTTP API, and show screenshots, recordings and diagrams inline in the Cogpit timeline. Use when asked what happened in a past session, when you need to start or message another agent session, or whenever you have an image or video to show the user.

  • 28 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
ai-agentsbashapisecurity

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add gentritbiba/cogpit --skill cogpit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cogpit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cogpit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gentritbiba-cogpit/badge)](https://www.skillsdirectory.com/skills/gentritbiba-cogpit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cogpit
description: Working inside Cogpit or against a Cogpit server. Recall and search earlier agent sessions with the cogpit-memory CLI, create and drive sessions over the Cogpit HTTP API, and show screenshots, recordings and diagrams inline in the Cogpit timeline. Use when asked what happened in a past session, when you need to start or message another agent session, or whenever you have an image or video to show the user.
---

# Cogpit

Cogpit is a workspace for Claude Code, Codex and Copilot CLI sessions. This one
skill carries the three things an agent needs there. Read only the reference
that matches the job.

| Need | Read |
| --- | --- |
| Recall or search earlier sessions, drill into turns, tool calls and subagents | [references/cogpit-memory.md](references/cogpit-memory.md) |
| Create, message, poll, read or stop sessions through the HTTP API | [references/cogpit-sessions.md](references/cogpit-sessions.md) |
| Show a screenshot, recording or diagram to the user | "Showing images and videos" below |

Both references talk to the local Cogpit server. Resolve its port the same way
everywhere: `$COGPIT_PORT`, then `~/.cogpit/port`, then `19384`.

```bash
PORT="${COGPIT_PORT:-$(cat ~/.cogpit/port 2>/dev/null || echo 19384)}"
BASE="http://localhost:$PORT"
```

## Showing images and videos

Cogpit renders markdown image syntax inline in the timeline. The same syntax
covers images and videos; the file extension decides which one you get.

```markdown
![Checkout page after the fix](/tmp/checkout-after.png)
![Full checkout run](/tmp/checkout-run.webm)
```

- Images (`png`, `jpg`, `jpeg`, `gif`, `webp`, `svg`, `bmp`, `ico`, `avif`)
  open in a zoomable viewer when clicked.
- Videos (`mp4`, `m4v`, `webm`, `mov`) play inline with controls and seeking.
- Local paths must be absolute and live on the machine that runs the Cogpit
  server, which is the machine you run on. Cogpit serves them through its own
  proxy; the user does not need the file.
- Only local files render. The app's Content-Security-Policy blocks remote
  `https://` media, so download a remote file first and reference the path.
- A bare absolute path alone on a line also renders, but write the
  `![alt](src)` form with a short, specific alt so the user knows what they
  are looking at.
- A screenshot or `view_image` tool result shows the picture to you, not to
  the user. The message you write must contain the `![alt](src)` line.
- Show milestones and evidence: the fixed page, the failing state you found,
  the QA run. Not every step.

Recording a browser session:

```bash
agent-browser record start /tmp/checkout-run.webm
# ... drive the page ...
agent-browser record stop
```

Then put `![Checkout run](/tmp/checkout-run.webm)` in your reply. macOS screen
recordings (`screencapture -V 10 /tmp/clip.mov`) and any `.mp4` you produce
with ffmpeg work the same way.

Files in this skill

  • SKILL.md2.8 KB
  • references/cogpit-memory.md13.4 KB
  • references/cogpit-sessions.md16.9 KB

Attribution

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

Loading comments…