Skip to content
Projetos

Sobre

Skills from StarSling (self-improving CI)

Sistemas e infraestrutura

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
+5
em 15 dias
+15
em 1 mês
+69

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

StarSling Skills

Agent skills for faster, safer, and easier-to-debug GitHub Actions.

skills.sh

Website

npx skills add starslingdev/skills

Choose the skills and agent you want when prompted. Add -g to install them for every project instead of only the current one, or use a skill-specific command from the sections below.

Choose a skill

Skill Use it when you want to… Coverage Reads Skill file
🏎️ ci‑speedup Find what is slowing CI down or wasting runner-minutes 90+ optimization patterns Local workflows and GitHub run history SKILL.md
📋 ci‑score Grade CI configuration against best practices 10+ configuration checks Local checkout SKILL.md
🔒 ci‑secure Find critical, exploitable GitHub Actions attack paths 10+ critical attack vectors Local workflows; optional GitHub API checks SKILL.md
💫 sling Understand usage, performance, billing, and CI activity across your StarSling account 15+ account and CI commands Your StarSling account SKILL.md

The first three audit a repository. They produce a report, then offer to fix the findings you select or save the report as Markdown. Fixes stay in your working tree for review: the skills do not commit, push, or open a pull request unless you explicitly ask.

sling is different: it requires a StarSling account and gives you the operational view of that account—usage, performance, billing, runs, failures, runner capacity, and more. It reads the CI data StarSling already collects rather than auditing workflow files in a checkout. It does not change GitHub or CI state; requests that do are routed to the GitHub CLI.

Requirements and data handling

Skill Requirements Network and data handling
ci‑speedup Python 3.9+, PyYAML, authenticated gh Reads GitHub run history through the GitHub API
ci‑score Python 3.9+, PyYAML Fully offline
ci‑secure Python 3.9+, PyYAML; gh optional Runs locally; gh enables nine additional checks
sling StarSling account, sling CLI, login, and StarSling GitHub App Queries your account through StarSling's control plane

The repository-audit skills do not send audit results or repository contents to StarSling. sling sends the organization, repository, and run identifiers you ask about and stores its credential at ~/.config/sling/credentials. See the full data-handling policy.


ci-speedup

🏎️ Measure what actually makes CI slow, using your own run history.

Open the ci-speedup skill file →

npx skills add starslingdev/skills --skill ci-speedup

To upgrade ci-speedup, remove and re-add the skill so deleted files are removed from the install.

Invoke it as /ci-speedup ($ci-speedup in Codex), or ask: “Why is my CI slow?”

ci-speedup reports two separate measures:

  • Developer wall-clock wait: the merge-gating critical path, which findings are ranked by.
  • Runner-minutes: the compute bill and capacity consumed.

The numbers come from real runs. The skill samples per-job P50/P95 timing via the GitHub API, reconstructs the actual job graph and critical path, and checks the result against a catalog of 90+ optimization patterns spanning hygiene, data-driven detection, and structural critical-path analysis.

It diagnoses rather than prescribing a generic fix. Each finding includes a ready-to-paste prompt for an agent that can inspect the relevant logs, history, and repository context before changing anything.

Examples: pallets/flask · microsoft/playwright

Reference: Architecture · Catalog · Wall-clock methodology · Savings methodology · Changelog · All files · Website


ci-score

📋 Grade CI configuration against best practices and get a ranked fix for every gap.

Open the ci-score skill file →

npx skills add starslingdev/skills --skill ci-score

Invoke it as /ci-score ($ci-score in Codex), or ask: “Grade my CI.” It runs fully offline.

The score covers 10+ configuration checks, including caching, shallow checkout, sharding, concurrency cancellation, path filters, timeouts, action pinning, and OIDC scoping. The score is checks passed divided by checks applicable; every failed check gets one ranked fix.

It measures best-practice adherence, not speed, and it is not a security audit. A small subset of checks is security-adjacent, but the score makes no broader security claim.

Example: pallets/flask, scoring 89/100.

Reference: Methodology · Machine-readable rubric · Changelog · All files · Website


ci-secure

🔒 Find 10+ critical GitHub Actions attack vectors and fix the findings you select.

Open the ci-secure skill file →

npx skills add starslingdev/skills --skill ci-secure

Invoke it as /ci-secure ($ci-secure in Codex), or ask: “Is my CI secure?”

The scanner checks for 10+ critical attack vectors: template injection, privileged execution of fork code, cache poisoning, impostor action SHAs, secret dumps, $GITHUB_ENV hijacking, write tokens on untrusted triggers, credentials in caches and artifacts, unverified remote-code execution, and dependency install scripts running beside secrets.

Each finding names the file and line, quotes the workflow, and explains what an attacker could do. Zero findings is a first-class result. A check that could not run is reported as did not run, never as a pass.

This is deliberately not a comprehensive security audit and does not produce a security score. The closed set contains exploit chains with a real incident behind each one; see how the vectors are selected.

Examples: the same snowflakedb/snowflake-connector-net workflow at two commits — 3 findings before the fix and 0 findings after.

ci-secure CI check

The optional CI check runs the same engine on every pull request so fixed findings do not return. Ask your agent to install it:

This repository uses it. See .github/workflows/ci-secure-check.yml, which scans this repository's own workflows and publishes the stable ci-secure verdict used by branch protection.

Run `npx skills add starslingdev/skills --skill ci-secure` to install or
update the ci-secure skill, then install ci-secure as a CI check in this repo.

The check is vendored, not fetched at runtime. Its engine, gate, and license are copied into the repository, making the code that judges a pull request readable and stable. The setup starts in advisory mode; remove --advisory and make the check required when you are ready for it to block merges.

CI-check implementation: Gate · Workflow · Vendor script · Setup guide

Reference: Attack vectors · Selection criteria · Configuration checks · Troubleshooting · Changelog · All files · Website


sling

💫 Understand usage, performance, billing, and CI activity across your StarSling account.

Open the sling skill file →

npx skills add starslingdev/skills --skill sling

Invoke it as /sling ($sling in Codex), or ask: “What is driving our StarSling bill?”, “How is runner performance trending?”, or “Why did this job fail?”

Unlike the repository-audit skills, sling requires a StarSling account. The skill drives StarSling's sling CLI, the agent-first interface to that account, read-only against GitHub and CI. Its 15+ commands cover:

  • Usage: attribute runner-minutes and cost by repository, workflow, job, label, or day.
  • Performance: decompose wall-clock time, compare lifecycle phases, and rank time or cost hotspots with trends.
  • Billing: inspect the current period, month-end projection, credits, per-label line items, and finalized invoice history.
  • CI activity: find runs and jobs, diagnose failures, and retrieve only the relevant log lines.
  • Account and capacity: work across your organizations and compare the runner sizes, specifications, and prices available to you.

The routing is part of the skill:

  • Account reads—usage, billing, runner performance and capacity, runs, jobs, and failures—go to sling.
  • State changes—rerun, cancel, trigger, enable, disable, or artifact download—go to gh.
  • Repository-wide workflow audits go to ci-speedup, ci-score, or ci-secure.

Before answering, the skill checks that the CLI is installed, you are signed in to your StarSling account, and the StarSling GitHub App is installed for the organization whose data you want to inspect. The service currently supports organizations, not personal repositories.

Reference: Verified command reference · GitHub CLI fallback · Machine-readable command surface · Changelog · All files · Website · StarSling homepage · CLI documentation


For maintainers

Maintainer-only infrastructure lives outside the installable skill trees, so the skills CLI never copies it into an installation:

This repository's internal CI runs on StarSling Runners. Fork pull requests run the same suite on GitHub-hosted runners, so untrusted code does not execute on self-hosted runners. See CONTRIBUTING.md.

License

MIT

Explore projetos relacionados

Carregando…