deployment-tracker
Track every deployment event via CLI or REST API. Searchable web dashboard with service timelines, rollback tracking, and per-service deploy tokens.
Best use case
deployment-tracker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Track every deployment event via CLI or REST API. Searchable web dashboard with service timelines, rollback tracking, and per-service deploy tokens.
Teams using deployment-tracker should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/deployment-tracker/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How deployment-tracker Compares
| Feature / Agent | deployment-tracker | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Track every deployment event via CLI or REST API. Searchable web dashboard with service timelines, rollback tracking, and per-service deploy tokens.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# deployment-tracker Skill
## When to Use
Use this skill when you need to:
- Log deployments from a CI/CD pipeline to a central tracker
- View a history of who deployed what version to which environment
- Track rollback events and mean time to recovery
- Manage per-service deploy tokens for CI/CD pipelines
- Query deployment history by service, environment, or status
## Prerequisites
- Node.js 20+
- pnpm 9+
- `ADMIN_TOKEN` environment variable set (a secure random string)
## Quick Start
```bash
cd deployment-tracker
cp .env.example .env
# edit .env: set ADMIN_TOKEN=<secure random string>
pnpm install
pnpm --filter server dev # API on :4000
pnpm --filter client dev # dashboard on :5173
```
## Docker Quick Start
```bash
ADMIN_TOKEN=mysecrettoken docker compose up
# API: http://localhost:4000
# Dashboard: http://localhost:3000
```
## Logging Deployments via CLI
### Install
```bash
npm install -g deploy-tracker
```
### Log a deployment
```bash
deploy-tracker deploy \
--service api-gateway \
--version v2.4.1 \
--env production \
--deployer alice \
--token $DEPLOY_TOKEN \
--changelog-url https://github.com/acme/api-gateway/releases/tag/v2.4.1 \
--notes "Hotfix for auth timeout"
```
### Log a rollback
```bash
deploy-tracker rollback \
--deployment dep_9xK3mNpQvLrTwY \
--reason "increased error rate on payment endpoint" \
--token $DEPLOY_TOKEN
```
### List recent deployments
```bash
deploy-tracker list \
--service api-gateway \
--env production \
--limit 10 \
--admin-token $ADMIN_TOKEN
```
## Logging Deployments via API
```bash
curl -X POST http://localhost:4000/api/deploy \
-H "Authorization: Bearer $DEPLOY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"service": "api-gateway",
"version": "v2.4.1",
"environment": "production",
"deployer": "alice",
"status": "success",
"changelog_url": "https://github.com/acme/api-gateway/releases/tag/v2.4.1"
}'
```
## Querying the Timeline
```bash
# List all deployments
curl -H "Authorization: Bearer $ADMIN_TOKEN" \
http://localhost:4000/api/deployments
# Filter by service and environment
curl -H "Authorization: Bearer $ADMIN_TOKEN" \
"http://localhost:4000/api/deployments?service=api-gateway&environment=production"
# Filter by status
curl -H "Authorization: Bearer $ADMIN_TOKEN" \
"http://localhost:4000/api/deployments?status=rolled_back"
# Single deployment detail
curl -H "Authorization: Bearer $ADMIN_TOKEN" \
http://localhost:4000/api/deployments/dep_9xK3mNpQvLrTwY
```
## Managing Deploy Tokens
### Create a token
```bash
curl -X POST http://localhost:4000/api/tokens \
-H "Authorization: Bearer $ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"service_id": "svc_abc", "label": "GitHub Actions"}'
# Returns: {"token": "dt_raw_token_value_shown_once", "id": "tok_xyz"}
```
The raw token is shown once. Store it as a CI secret immediately.
### Revoke a token
```bash
curl -X DELETE http://localhost:4000/api/tokens/tok_xyz \
-H "Authorization: Bearer $ADMIN_TOKEN"
```
## Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| `PORT` | `4000` | Server listen port |
| `DB_PATH` | `./data/tracker.db` | SQLite database path |
| `ADMIN_TOKEN` | (required) | Bearer token for admin API access |
| `CORS_ORIGIN` | `http://localhost:5173` | Dashboard origin for CORS |
| `DEPLOY_TRACKER_URL` | `http://localhost:4000` | Server URL used by CLI |
## Stats Endpoint
```bash
curl -H "Authorization: Bearer $ADMIN_TOKEN" \
http://localhost:4000/api/stats
```
Returns: `deployments_today`, `failed_today`, `rollback_rate`, `active_services`, `deployments_by_service`.Related Skills
habit-tracker
Self-hosted daily habit check-in app with streaks, calendar heatmap, and weekly email reports. Use when you need to record a habit check-in, query streak data, create or update habits, review weekly progress, or manage categories. Triggers include "log habit", "check in", "mark done", "streak", "habit progress", "weekly report", or any task involving personal habit tracking.
sleep-tracker
No description provided.
nutrition-tracker
No description provided.
medication-tracker
Track medications with dosage schedules, log doses taken or skipped, monitor adherence rates, manage refill reminders, and check basic drug interactions. Use when a user needs to manage their medication schedule, log dose history, or review adherence.
pwa-deployment
Deploying first-aid-reference as a PWA on various platforms. Use when you need to deploy to Netlify, Vercel, a static server, or Docker; configure the service worker cache strategy; handle app updates; or troubleshoot PWA installation and caching issues. Triggers include "deploy PWA", "service worker", "cache strategy", "app update", "install prompt", "offline not working", or any deployment-related task for first-aid-reference.
terminal-time-tracker
Track time spent on projects from the terminal. Use when starting/stopping timers, logging time, viewing daily or weekly reports, or exporting time data. Triggers include "track time", "time tracker", "ttm", "log hours", "time report", "how much time", "start timer".
soil-test-tracker
Record soil test results, track nutrient levels over time, and log soil amendments. Use when asked to add a soil test, check which nutrients are deficient, view field nutrient history, record a lime or fertilizer application, or compare field health across tests. Triggers include "soil test", "soil pH", "nutrient deficiency", "add lime", "compost application", "phosphorus low", "organic matter", "amendment record", or any task involving soil chemistry tracking.
Skill: germination-tracker
## Purpose
SKILL.md - market-sales-tracker
## Overview
livestock-tracker
Track individual animals, record health events, vaccinations, weights, and breeding events. Use when asked to add an animal to the herd, log a vaccination, record body weight, track a treatment, set up a breeding event, check overdue vaccinations, or view the animal timeline. Triggers include "add animal", "record vaccination", "log weight", "track treatment", "breeding event", "overdue vaccines", "animal health history", "herd overview", or any task involving individual animal management.
Skill: Uptime Monitoring
## Overview
Skill: Status Page
## Overview