hay-kot/scaffold/scaffold-context

Claude Code and agent skill by hay-kot/scaffold

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install hay-kot/scaffold/scaffold-context

SKILL.md

scaffold-context — Runtime configuration background knowledge

User-invocable: false Auto-triggerable: true

Triggers when: User asks about scaffoldrc setup, scaffold resolution, environment variables, authentication, or how scaffold finds templates.

ScaffoldRC Location

The scaffoldrc file is resolved in this order:

  1. --scaffoldrc CLI flag
  2. SCAFFOLDRC environment variable
  3. ~/.scaffold/scaffoldrc.yml (legacy, only if it exists on disk)
  4. $XDG_CONFIG_HOME/scaffold/scaffoldrc.yml (default: ~/.config/scaffold/scaffoldrc.yml)

If the file doesn't exist, it's created automatically as an empty file. An empty file is valid and uses all defaults.

Use scaffold dev migrate to move legacy ~/.scaffold/ paths to XDG locations.

Scaffold Reference Resolution

When scaffold new <ref> is called, the reference resolves through:

  1. Aliases — exact match against scaffoldrc aliases keys → replaced with alias value
  2. Shorts — colon syntax (e.g., gh:org/repo) expanded via scaffoldrc shorts → URL
  3. Remote URL — cloned to cache directory, specific version/branch/tag supported
  4. Absolute path — used directly
  5. Relative path (contains /) — joined with current working directory
  6. Bare name — searched in all --scaffold-dir directories (default: .scaffold/)

If resolution fails interactively, fuzzy matching runs against all known scaffolds with a "did you mean?" prompt. In --no-prompt mode, the error is returned directly.

Authentication

For private repositories, configure auth in scaffoldrc. If no auth is configured and a remote requires it, the CLI prompts interactively (unless --no-prompt).

See scaffoldrc-reference.md for the auth section schema.

Environment Variables

VariableMaps toDescription
SCAFFOLDRC--scaffoldrcScaffoldRC file path
SCAFFOLD_DIR--scaffold-dirTemplate search directories
SCAFFOLD_CACHE--cacheCache directory for remote scaffolds
SCAFFOLD_LOG_LEVEL--log-levelLog level (debug, info, warn, error)
SCAFFOLD_SETTINGS_LOG_LEVEL--log-levelLog level (alt)
SCAFFOLD_SETTINGS_LOG_FILE--log-fileLog file path
SCAFFOLD_SETTINGS_THEME--themeUI theme
SCAFFOLD_THEME--themeUI theme (alt)
SCAFFOLD_SETTINGS_RUN_HOOKS--run-hooksHook execution policy
SCAFFOLD_OVERWRITE--overwriteOverwrite existing files
SCAFFOLD_FORCE--forceAllow dirty git tree
SCAFFOLD_OUT--output-dirOutput directory

CLI flags take precedence over environment variables, which take precedence over scaffoldrc settings.

Default Paths

PurposeXDG PathLegacy Path
ScaffoldRC$XDG_CONFIG_HOME/scaffold/scaffoldrc.yml~/.scaffold/scaffoldrc.yml
Cache$XDG_DATA_HOME/scaffold/templates~/.scaffold/cache

Legacy paths are used if they exist. XDG defaults: ~/.config/ for config, ~/.local/share/ for data.

Cache Behavior

Remote scaffolds (URLs, shorts) are cloned to the cache directory. Use scaffold update to pull latest for all cached scaffolds. The cache directory can be overridden with --cache or SCAFFOLD_CACHE.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
179
Repository forks
24
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hay-kot/scaffold/scaffold-context/badge)](https://verified-skill.com/skills/hay-kot/scaffold/scaffold-context)

Something wrong with this skill or its page? Tell us.