OpenParable
Skip to content
← Back to skills

Gitnexus Refresh On Stale

Agent Building
gitnexus-refresh-on-stale

Gitnexus Refresh On Stale is an Agent Skill for agent building published in the ML4ITS/TimeVQVAE repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Refresh GitNexus indexing and regenerate local GitNexus skills when repository status is stale. Use when `npx gitnexus status` reports stale/outdated index state, or when you need to sync newly generated `.claude/skills/gitnexus` into `.agents/skills/gitnexus` with overwrite behavior.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ML4ITS/TimeVQVAE/blob/HEAD/.agents/skills/gitnexus-refresh-on-stale/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gitnexus-refresh-on-stale, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

GitNexus Refresh On Stale

Run this skill from the repository root.

Workflow

  1. Check index status.
npx gitnexus status
  1. If status contains stale (case-insensitive), run:
npx gitnexus analyze
  1. If .claude/skills/gitnexus exists after analyze, replace .agents/skills/gitnexus with it.
  • Delete existing .agents/skills/gitnexus when present.
  • Move .claude/skills/gitnexus to .agents/skills/gitnexus.
  1. If status is not stale, do not run analyze.

Script

Use the bundled script for deterministic behavior:

bash .agents/skills/gitnexus-refresh-on-stale/scripts/refresh_gitnexus_skills.sh

The script performs all steps above and prints what it changed.