Skip to content
Back to skills

Prosa Cli Rendering

ASecurity

CLI behavior and rendering conventions for prosa. Use when changing internal/cli commands, flags, timeline/search rendering, TTY behavior, or progress output.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 4, 2026
ai-agentsgotestinggit

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned October 4, 2026

npx -y skills add c3-oss/prosa --skill prosa-cli-rendering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prosa Cli Rendering?

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

Security grade badge for Prosa Cli Rendering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/c3-oss-prosa-cli-rendering/badge)](https://www.skillsdirectory.com/skills/c3-oss-prosa-cli-rendering)

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: prosa-cli-rendering
description: CLI behavior and rendering conventions for prosa. Use when changing internal/cli commands, flags, timeline/search rendering, TTY behavior, or progress output.
---

# Prosa CLI Rendering

Use this skill before changing CLI command behavior or user-visible
terminal output.

## CLI contract

The public surface lives in `docs/usage.md`. Today it includes:

- `prosa` — renders the local timeline.
- `prosa sync` — scans registered agents, imports sessions, pushes to
  the server.
- `prosa search <query>` — searches FTS5 content (local or `--remote`).
- `prosa show <session-id>` — prints preserved raw JSONL.
- `prosa analytics <report>` — one of `sessions | tools | models |
  projects | errors`.
- `prosa devices …` — `list | rename | revoke` (cross-device).
- `prosa schedule …` — `install | status | uninstall` (LaunchAgent /
  systemd timer).
- `prosa setup` — interactive first-run wizard.
- `prosa login` — re-authenticate (sub-step of setup).

Global flags:

- `--last`, `--since`, `--between`
- `--project`, `--device`, `--agent`
- `--all`
- `--remote`
- `--json`
- `--no-color`

Keep flags stable across cuts. Renaming or removing is a breaking change
and requires updating `docs/usage.md` in the same PR.

## Rendering rules

- Timeline, search, show, and analytics are one-shot renderers; no
  resident TUI.
- TTY output may use Lipgloss colors and responsive truncation per
  `docs/cli/rendering-contract.md`.
- Non-TTY output must be plain text or NDJSON without escape codes.
- `prosa sync` may use Bubble Tea progress in interactive terminals,
  with a plain structured fallback for cron/LaunchAgent/systemd use.
  See `docs/cli/motion.md` for the motion contract.
- Do not print logs to stdout when stdout is carrying command output.
  Logs go to stderr.

## Project scoping

When not using `--all`, read commands may auto-scope to the project
detected from cwd (git remote > `.prosa.yaml` marker > cwd fallback).
Make that scoping visible on stderr for human output and silent for
JSON/NDJSON output.

## Testing

CLI/rendering changes should cover both interactive and non-interactive
paths where practical:

- JSON/NDJSON output remains machine-readable.
- Plain output contains no ANSI escapes.
- Long titles/projects truncate without breaking alignment.
- Date headers and active-session markers stay consistent with the
  rendering contract.

Run `go test ./internal/cli/... -race` and `just test-race`.

## See also

- `docs/architecture/cli.md` — handler files, render pipeline, sync
  internals.
- `docs/cli/screens.md` — screen-by-screen mocks.
- `docs/cli/rendering-contract.md` — color tokens, truncation rules.
- `docs/cli/motion.md` — when motion is allowed and how it falls back.

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.