Skip to content
cccskills
FreePublished on GitHub

ls-github-starredrepos-sync

Manage a GitHub starred repositories archive named starredrepos with authenticated context checks, dry-run synchronization, repo scouting, metadata snapshots, and guarded publish workflows.

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (39)

  • SKILL.md5.9 KB
  • data/examples/manifest.example.json901 B
  • data/examples/repo-metadata.example.json617 B
  • data/examples/scout-report.example.json488 B
  • data/examples/snapshot-diff.example.json194 B
  • data/schema/manifest.schema.json809 B
  • data/schema/repo-metadata.schema.json1.3 KB
  • data/schema/scout-report.schema.json1.2 KB
  • data/schema/snapshot-diff.schema.json1003 B
  • references/actions-automation.md438 B
  • references/api-cli-references.md448 B
  • references/architecture.md1.4 KB
  • references/authenticated-github-context.md543 B
  • references/docs-archive.md462 B
  • references/node-runtime.md326 B
  • references/rate-limits-resilience.md393 B
  • references/release-intelligence.md384 B
  • references/scout-modes.md528 B
  • references/security-privacy.md450 B
  • references/source-ledger.md3.3 KB
  • references/starred-repo-sync-runbook.md729 B
  • references/starredrepos-repository-contract.md716 B
  • references/storage-strategies.md966 B
  • references/troubleshooting.md807 B
  • references/update-procedure.md556 B
  • scripts/common.mjs9.7 KB
  • scripts/generate-starredrepos-docs.mjs2.2 KB
  • scripts/list-starred-repos.mjs1.3 KB
  • scripts/scout-repo-metadata.mjs2.9 KB
  • scripts/sync-starredrepos.mjs3.6 KB
  • scripts/test_github_starredrepos_redaction.mjs513 B
  • scripts/verify-github-auth.mjs2.0 KB
  • scripts/verify-starredrepos-state.mjs2.1 KB
  • templates/archive-README.md205 B
  • templates/github-actions-starredrepos.yml1.1 KB
  • templates/repo-doc.md190 B
  • templates/scout-prompt.md304 B
  • templates/scout-result.md96 B
  • templates/sync-summary.md239 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

GitHub Starred Repositories Archive

Purpose: Build and maintain a starredrepos archive of the authenticated user's GitHub starred repositories, with read-only discovery first, explicit mutation gates, schema-backed manifests, and optional repo scouting.

Use this skill when the user asks to inventory GitHub stars, sync starred repositories into a starredrepos repository, generate docs for starred projects, scout repository metadata, or automate a personal starred-repo archive.

Operating Model

  1. Authenticate first: Run node scripts/verify-github-auth.mjs before any GitHub API or repository work. Prefer the active gh login and record host, viewer, REST API versions, and rate-limit context.
  2. Read-only by default: Start with node scripts/list-starred-repos.mjs --limit 100 --json and node scripts/sync-starredrepos.mjs --dry-run.
  3. Use the starredrepos contract: Store publishable metadata, manifests, diffs, and generated docs in the archive repository. Keep local checkout caches, bare mirrors, and scout caches outside committed history.
  4. Use metadata storage: Current helper apply mode is metadata-only. Submodule, checkout-cache, bare-mirror-cache, and vendor strategies are roadmap concepts until guarded implementations and tests exist.
  5. Scout conservatively: Static metadata scouting is deterministic and default. Only run a configured model or command when STARREDREPOS_SCOUT_MODE=command or a matching CLI flag is explicit.
  6. Guard mutations: Creating remotes, committing, pushing, deleting submodules, and vendoring content require separate explicit flags and should be previewed in a dry run first.

Common Commands

node scripts/verify-github-auth.mjs --help
node scripts/verify-github-auth.mjs
node scripts/list-starred-repos.mjs --limit 100 --json
node scripts/sync-starredrepos.mjs --dry-run
node scripts/scout-repo-metadata.mjs --input data/examples/repo-metadata.example.json
node scripts/generate-starredrepos-docs.mjs --manifest data/examples/manifest.example.json --dry-run
node scripts/verify-starredrepos-state.mjs --examples

Run commands from this skill directory unless a script option names another path. Scripts are read-only unless the option name says otherwise, such as --apply, --create-remote, --commit, or --push.

Environment

  • STARREDREPOS_GITHUB_HOST: GitHub host, default github.com.
  • STARREDREPOS_REPO_NAME: archive repository, default starredrepos.
  • STARREDREPOS_WORKTREE: local archive worktree path.
  • STARREDREPOS_STORAGE_MODE: metadata only. Other storage strategies are rejected by the helper until implemented.
  • STARREDREPOS_CACHE_DIR: local cache directory for non-committed clones or mirrors.
  • STARREDREPOS_REST_API_VERSION: REST version header, default 2026-03-10.
  • STARREDREPOS_SCOUT_MODEL: optional model label passed to external scout tooling.
  • STARREDREPOS_SCOUT_CONCURRENCY: maximum concurrent scout jobs, default 2.
  • STARREDREPOS_SCOUT_MAX_INPUT_TOKENS: input budget hint for scout tools.
  • STARREDREPOS_SCOUT_TIMEOUT_MS: command timeout, default 30000.
  • STARREDREPOS_SCOUT_MODE: static or command, default static.
  • STARREDREPOS_SCOUT_COMMAND: external command invoked only in command scout mode.

Mutation Guardrails

  • sync-starredrepos.mjs --dry-run plans archive changes without writing files, creating remotes, committing, or pushing.
  • --apply allows local archive file updates only.
  • --create-remote may create OWNER/starredrepos only when combined with --apply; the helper initializes a new archive Git repository or verifies that the requested worktree is its root before remote creation.
  • --commit may create a local commit only when combined with --apply; the helper initializes a new archive Git repository or verifies that the requested worktree is its root before committing.
  • --push may push only when combined with --apply --commit.
  • Do not delete, deinitialize, or rewrite existing submodules unless the user explicitly asks for that cleanup; this helper does not create submodules yet.
  • Never print GitHub tokens, authorization headers, or full gh auth token output.

Reference Map

Contracts

The schemas are the public contract. The scripts use standard-library shape validation so no npm install is required.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 21, 2026

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 21, 2026

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 21, 2026

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 21, 2026

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 21, 2026

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 21, 2026

See all skills by CruxExperts

Report a problem with this skill