agentleFS
abdullahkhawerabdullahkhawer/devops-skills/skills/rollbar-cli/SKILL.md

rollbar-cli

Skill8 starsChanged 7 months agoApache-2.0View on GitHub

Perform Rollbar error monitoring operations using the Rollbar HTTP API via curl. Use for querying items, occurrences, and deploys.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the instance and rules below when constructing all Rollbar API commands.

    line 8
  2. Distinctive:

    Update the table below with your Rollbar credential file paths:

    line 12
  3. Distinctive:

    If the target environment is unclear, ask the user before running any command.

    line 19
  4. Distinctive:

    NEVER target a Rollbar project not listed in the configuration table above.

    line 64
  5. Distinctive:

    NEVER print, display, log, or store the contents of any token file.

    line 65
  6. Very specific:

    Always read the token inline with $(cat <TOKEN_FILE>) — never hardcode a token value in a command.

    line 66
  7. Very specific:

    Always pass -s (silent) to curl and pipe through jq for readable output.

    line 67
  8. Distinctive:

    NEVER run DELETE endpoints or change item status (resolve/mute) without explicit user instruction.

    line 68
  9. Very specific:

    Prefer a read-only project access token for this skill — never use a write/post_server_item scoped token for read operations.

    line 69
  10. Distinctive:

    If an item ID is unfamiliar, list items first before fetching instances.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Rollbar CLI Skill

Use the instance and rules below when constructing all Rollbar API commands.

Configuration

Update the table below with your Rollbar credential file paths:

EnvironmentRead Token FileProject
Production~/.rollbar/prod.token<your-prod-project>
Staging~/.rollbar/staging.token<your-staging-project>

If the target environment is unclear, ask the user before running any command.

Prerequisites (one-time setup by user)

Generate a Rollbar project access token with read scope (Project Settings → Access Tokens) for each environment and save it to the corresponding token file. Never print or display token values. Do not perform these steps yourself.

mkdir -p ~/.rollbar && echo "<your-read-token>" > <TOKEN_FILE> && chmod 600 <TOKEN_FILE>

Command Format

curl -s "https://api.rollbar.com/api/1/<endpoint>?access_token=$(cat <TOKEN_FILE>)" | jq .

Available API Endpoints

Read-only (safe, no confirmation needed)

EndpointMethodDescription
/api/1/itemsGETList items (grouped errors)
/api/1/item/<id>GETGet a specific item
/api/1/item/<id>/instancesGETList occurrences of an item
/api/1/deploysGETList deploys
/api/1/projectGETGet project details

Mutating operations (confirm with user before running)

EndpointMethodDescription
/api/1/item/<id>PATCHUpdate item status (e.g. resolve, mute)
/api/1/deployPOSTReport a new deploy

Never run — requires explicit human approval

EndpointMethodReason
/api/1/item/<id>DELETEIrreversible item deletion
/api/1/instances/<id>DELETEIrreversible occurrence deletion
/api/1/project/<id>DELETEIrreversibly deletes the entire project

Rules

  • NEVER target a Rollbar project not listed in the configuration table above. If a request references an unfamiliar project, stop and ask the user to confirm.
  • NEVER print, display, log, or store the contents of any token file.
  • Always read the token inline with $(cat <TOKEN_FILE>) — never hardcode a token value in a command.
  • Always pass -s (silent) to curl and pipe through jq for readable output.
  • NEVER run DELETE endpoints or change item status (resolve/mute) without explicit user instruction.
  • Prefer a read-only project access token for this skill — never use a write/post_server_item scoped token for read operations.
  • If an item ID is unfamiliar, list items first before fetching instances.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.