Skip to content
Back to skills

Mission Control Run Logging

ASecurity

Records every agent execution turn as a run in Mission Control. Use this skill when starting a run (status RUNNING), completing or failing one (COMPLETED / FAILED), and reporting model, token counts, and cost so the observability and audit trail stays honest across all agent activity.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsapi

Works with

  • terminal
  • api

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add jaydubya818/MissionControl --skill mission-control-run-logging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mission Control Run Logging?

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

Security grade badge for Mission Control Run Logging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jaydubya818-mission-control-run-logging/badge)](https://www.skillsdirectory.com/skills/jaydubya818-mission-control-run-logging)

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: mission-control-run-logging
description: >-
  Records every agent execution turn as a run in Mission Control. Use this
  skill when starting a run (status RUNNING), completing or failing one
  (COMPLETED / FAILED), and reporting model, token counts, and cost so the
  observability and audit trail stays honest across all agent activity.
version: 1.0.0
owner: software-factory
risk: low
capabilities:
  - run-recording
  - token-accounting
  - audit-trail
requires_tools:
  - convex
related_skills:
  - mission-control-budget-control
  - mission-control-heartbeat
---

# Log Runs

Record each execution turn:

```
Mutation: api.runs.create
Args:
  agentId: Id<"agents">
  taskId?: Id<"tasks">
  sessionKey: string
  model: string           — e.g., "claude-sonnet-4-20250514"
  inputTokens: number
  outputTokens: number
  costUsd: number
  status: "RUNNING" | "COMPLETED" | "FAILED"
  idempotencyKey: string
```

## Rules

1. **Log activities — keep the audit trail honest.** Every execution turn gets a run record.
2. Start with `status: "RUNNING"`, then record the terminal state (`COMPLETED` or `FAILED`) with final token counts and cost.
3. Use `idempotencyKey` so retried creates never duplicate run records.
4. Pass the run's `costUsd` through to spend tracking as well (`mission-control-budget-control`).

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.