Skip to content
Back to skills

Manage Services

ASecurity

Operate the running Enterprise Demo stack: services, the Postgres database, and scheduled jobs.

  • 29 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsbashsqldockerapidatabase

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

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

Scanned September 3, 2026

npx -y skills add systempromptio/systemprompt-template --skill manage_services --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Manage Services?

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

Security grade badge for Manage Services
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/systempromptio-manage-services/badge)](https://www.skillsdirectory.com/skills/systempromptio-manage-services)

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
# Manage Services

Operate the running Enterprise Demo stack: services, the Postgres database, and scheduled jobs.

## When to Use

Use this skill to bring the stack up, check what is running, inspect the database, watch scheduled jobs, or tail logs while diagnosing an operational issue.

## How to Use

### Services

`infra services` manages the API server, agents, and MCP servers together.

```bash
systemprompt infra services start            # start API, agents, and MCP servers
systemprompt infra services status           # detailed status: which are running, PIDs
systemprompt infra services restart          # restart all services
systemprompt infra services stop             # stop gracefully
systemprompt infra services cleanup          # clear orphaned processes / stale entries
```

### Database

The local stack runs a per-clone Docker Postgres. The CLI exposes status, schema, and migration helpers:

```bash
systemprompt infra db status                 # connection status
systemprompt infra db tables                 # tables with row counts and sizes
systemprompt infra db migrations status      # migration status across extensions
systemprompt infra db query "SELECT ..."     # read-only SQL
systemprompt infra db migrate-repair         # fix migration checksum drift in place (no data loss)
```

For container lifecycle the justfile recipes are authoritative: `just db-up`, `just db-down`, `just db-logs`. There is no destructive reset - recover drift in place with `infra db migrate-repair` (or `just repair-migrations`).

### Jobs

```bash
systemprompt infra jobs list                 # available jobs
systemprompt infra jobs run <job>            # run a scheduled job manually
systemprompt infra jobs history              # execution history
```

The `publish_pipeline` job also runs automatically at server startup.

### Logs while operating

```bash
systemprompt infra logs stream --since 30s            # live tail (alias: follow)
systemprompt infra logs view --level error --since 1h # recent errors
```

### Typical workflow

1. `infra services status` - confirm what is up.
2. `infra db status` - confirm the database is reachable and migrated.
3. `infra services start` - bring up anything missing.
4. `infra logs stream` - watch startup and catch errors.

Files in this skill

  • SKILL.md2.2 KB
  • config.yaml291 B

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…

Newsletter

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