Files
skillkit/.github/actions/skillkit
Rohit Ghumare 9e50c8abe1 fix: prevent shell injection in action, suppress stdout in --json mode
- action.yml: pass inputs via env vars, whitelist allowed commands
- All --json commands: use no-op spinner to prevent stdout pollution
- remove: run AGENTS.md update before JSON output (was skipped)
- eval: gate spinner on json format, wrap in try/catch for cleanup
- scan: wrap spinner in try/catch for cleanup on failure
2026-04-12 10:56:35 +01:00
..

SkillKit GitHub Action

A reusable composite action to install, scan, and manage AI agent skills in CI/CD pipelines.

Usage

# Install skills
- uses: rohitg00/skillkit/.github/actions/skillkit@main
  with:
    command: install
    source: anthropics/skills

# Security scan
- uses: rohitg00/skillkit/.github/actions/skillkit@main
  with:
    command: scan
    source: ./skills

# Check for updates
- uses: rohitg00/skillkit/.github/actions/skillkit@main
  with:
    command: check

Inputs

Input Description Required Default
command SkillKit command to run (install, scan, check, sync) Yes
source Skill source for install (e.g. owner/repo) No
args Additional arguments No ''
node-version Node.js version No 20
agent Target agent (e.g. claude-code, cursor) No claude-code

Examples

Install and sync skills

jobs:
  setup-skills:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: rohitg00/skillkit/.github/actions/skillkit@main
        with:
          command: install
          source: anthropics/skills
          agent: cursor

      - uses: rohitg00/skillkit/.github/actions/skillkit@main
        with:
          command: sync

Security scan on PR

jobs:
  scan-skills:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: rohitg00/skillkit/.github/actions/skillkit@main
        with:
          command: scan
          source: ./skills
          args: '--fail-on high'

Check for updates

jobs:
  check-updates:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: rohitg00/skillkit/.github/actions/skillkit@main
        with:
          command: check
          args: '--json'