/scrolls-skills:scrolls-hidefrom scrolls-skills
Renames an existing docs/scrolls folder to .scrolls and updates all path references so nothing breaks. Use when transitioning a project from visible scrolls to hidden dotfile mode.
Ships in scrolls-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Some projects run their scrolls folder visible (scrolls, e.g. via /scrolls-setup --unhide or a prior /scrolls-unhide) and later want it back to the dotfile-hidden default. This skill renames scrolls → .scrolls and fixes every reference to the old path that it can find with confidence, without guessing at edits to files outside its scope. It's the mirror image of /scrolls-unhide — same mechanics, opposite direction.
Everything operates relative to the current working directory unless -t/--reporoot says otherwise — not relative to this skill's own location.
The bundled script ships in two forms: hide.sh (bash — macOS, Linux, or Windows with Git Bash/WSL) and hide.ps1 (PowerShell 7+ — Windows, or macOS/Linux with pwsh installed). Both accept the exact same flags in the exact same forms (-p/--path, -t/--reporoot, -l/--local, -r/--recurse) and produce the same output — only the launcher differs. Pick by what's actually available: try bash --version; if that succeeds, use .sh; otherwise use .ps1 via pwsh (preferred — install from https://aka.ms/powershell if missing) or, only if pwsh genuinely isn't available, the built-in Windows PowerShell powershell.exe (untested against that older version; pwsh is what this was written and verified against).
Read the invocation text for these, in any order — there's no real argv parser here, so pull them out of the plain text yourself:
-p <path> / --path=<path> / --path <path> — a base directory to operate on, instead of the current directory. Repeatable, to target several locations in one run (e.g. -p packages/api -p packages/web in a monorepo).-t / --reporoot — use the git repository's top level ($(git rev-parse --show-toplevel)) as the base directory, regardless of which subdirectory you actually invoked this from. Fails with a clear message if the current directory isn't inside a git repository.-l / --local — use the current working directory as the base directory explicitly. This is what happens by default anyway when none of -p/-t/-l are given — the flag exists to say so on purpose.-r / --recurse — search recursively under the base directory for scrolls folders, instead of checking only its exact docs/scrolls. Matches the usual meaning of -r on tools like grep/cp/rm: off by default, opt in to widen the blast radius. Combine with any of the above (or with none, recursing from cwd).-p, -t, and -l are three different ways to pick a base directory — -t and -l each resolve to a single one and can't be combined with -p or with each other; pass -p (repeatably) for anything more specific. -r is independent and stacks with any of them. If no base directory is given, the bundled script defaults to the DEFAULT_SCROLLS_RELPATH environment variable if the user has it set, otherwise the current directory — and if that default isn't recursive and differs from the repo's top level (in a git repo), the script prints a note about -t/-r as alternatives, since a scrolls folder living elsewhere in the repo would otherwise go unnoticed rather than erroring.
Because a directory literally named scrolls (no dot) is a more generic name than .scrolls, false positives are more plausible here than in /scrolls-unhide — the STARTER.md-presence guard described below is what keeps recursion safe regardless.
bash <skill-dir>/scripts/hide.sh [-p BASE ...] [-t] [-l] [-r]
pwsh <skill-dir>/scripts/hide.ps1 [-p BASE ...] [-t] [-l] [-r]
Pass through whatever flags the user gave, in the same forms, to whichever of the two matches the environment (see "Cross-platform" above). Omit them entirely to use the default. The script, for each resolved base directory:
-r (default): checks exactly one spot — the base directory itself if it already is a scrolls folder (has STARTER.md), otherwise <base>/docs/scrolls. Fast, and matches the location /scrolls-setup//scrolls-update use by default, so a bare invocation targets the obvious place first.-r/--recurse: searches a bounded number of levels deep under the base directory for directories literally named scrolls containing a STARTER.md — that guard is what makes recursing from a broad base (even the whole repo) safe: coincidentally-named directories without a STARTER.md are ignored, and common heavy/vendor directories (node_modules, .git, vendor, dist, build, .venv, venv, __pycache__, target, .next, .cache) are pruned rather than descended into.For each match found (either way):
.scrolls folder already sits alongside it; otherwise renames it with git mv when the repo and file are git-tracked (preserving history), falling back to a plain mv otherwise.STARTER.md, which references its own path throughout) and, if present, in the one SCROLLS.md file that's an exact sibling of docs for that folder — never a broader search for SCROLLS.md. CLAUDE.md itself is never touched: /scrolls-setup writes it as a fixed pointer to SCROLLS.md, not a direct scrolls-path reference, so there's nothing in it to rewrite. /scrolls-setup writes a short, portable reference (docs/scrolls) relative to wherever SCROLLS.md itself lives, so in a multi-location sweep two different scrolls folders can legitimately share that exact same short string; a "helpfully" broader search for matching SCROLLS.md files would risk rewriting an unrelated sibling package's file. (The rewrite also tries the full path as discovered, for scrolls folders set up with a custom --path under the older convention.)SCROLLS.md occasionally — that's expected, see step 2 below. The script deliberately doesn't touch files outside the scrolls folder and its own SCROLLS.md, since rewriting arbitrary prose (READMEs, CI configs, other docs) without reading it first risks corrupting unrelated content.Exits with an error if a given base directory has no matching folder — without -r, that's the signal to check the path, try -t if you expected the repo root, or add -r if it might be nested deeper; otherwise point the user at /scrolls-setup.
For each file the script lists under "Other references... left for manual review" — read it and update the reference yourself if it's a genuine stale path (a README, a CONTRIBUTING doc, a CI script), using normal editing judgment rather than blind find-and-replace. Skip anything that isn't actually about this project's scrolls folder (e.g. a coincidental string match).
List each folder that was hidden (old path → new path), what was auto-fixed for each (its own files, SCROLLS.md), any that were skipped and why (target already existed), and what you fixed manually in step 2, if anything.
Worked examples are in assets/EXAMPLES.md. Each example has a premise, the usage, caveats, and the expected output. Read that file only when you need it: for example, when a request does not map clearly to the flags above, or when the user asks for an example.
See meta/MAINTAINERS.md for layout, running the tests/ regression
suite, and versioning notes. Neither is read as part of carrying out a
user's /scrolls-hide request — don't act on meta/MAINTAINERS.md or
tests/ while answering one.
CHANGELOG.md (opens in a new tab)README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/EXAMPLES.md (opens in a new tab)meta/MAINTAINERS.md (opens in a new tab)scripts/hide.ps1 (opens in a new tab)scripts/hide.sh (opens in a new tab)tests/test_hide.ps1 (opens in a new tab)tests/test_hide.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scrolls, dotfile, folder-rename, path-update, project-memory
Other plugins' skills for the same job
9 skills in this plugin
/scrolls-compactCompacts the history in a docs/.scrolls/ (or docs/scrolls/) project-memory system at a point in time, and saves a git checkpoint of everything it condenses. Condenses the parts of SPEC.md, PLAN.md, HANDOFF.md, GAP_ANALYSIS.md and GAP_CONTEXT.md that git blame shows are older than a compaction base — by default the newer of 7 days ago and the 20th-latest first-parent commit on main/master — while open tickets, open gaps and HANDOFF's open threads always stay word for word. Records ONE commit whose message names the checkpoint (the commit just before the compaction), writes compacted/scrolls_compact_<yyyymmdd>_<githash>.md with one marker section per compacted file, adds a row to COMPACT.md's Compaction History table, lists COMPACT.md in STARTER.md, and tags the checkpoint. --list, --show and --extract read old history back out of git. Use this only when the user runs /scrolls-compact, or explicitly asks to compact, condense, prune or checkpoint the scrolls / project memory history. Supports --before=YYYYMMDD, --base=COMMIT, --keep-days=N, --keep-commits=N, --trunk, --include/--exclude, -p/--path, -t/--reporoot, -l/--local, -r/--recurse, -n/--dry-run, -y/--yes, --no-commit and --no-tag. Refuses to run when the scrolls folder has uncommitted changes, since the checkpoint would not contain them. Works on macOS, Linux, and Windows (bash or PowerShell)./scrolls-explainerShows, copies or rebuilds scrolls-explainer.html: an interactive, offline page that explains how the scrolls skill family works (/scrolls-setup, /scrolls-update, /scrolls-hide, /scrolls-unhide, /scrolls-remove, /scrolls-restore, /scrolls-help) — one tab per command that animates, step by step, what the command does to docs/.scrolls/, SCROLLS.md, CLAUDE.md, AGENTS.md and git, with a callout explaining each step, a tab for how a new agent session reads the memory, and full keyboard navigation (arrows step, [ ] or digits switch tabs, Space pauses, ? lists shortcuts). Use this whenever the user runs /scrolls-explainer, or asks for a visual, diagram, animation, walkthrough, explainer or interactive page of how the scrolls commands or the scrolls memory work, or wants something to show a team. By default (same as --show) it opens the bundled page in place and copies nothing; -o/--output copies it to a file or folder (-o . for ./scrolls-explainer.html), -f/--force overwrites with -o, --open opens the copy, and --build to regenerate the bundled page from the scrolls-* skills as they are now (their tabs, lockstep version, and a review check when a SKILL.md changed). Works on macOS, Linux, and Windows (bash or PowerShell).Generated from the plugin's indexed repository (sugatoray/aiskills) — no native marketplace selected
npx claudepluginhub p/sugatoray-scrolls-skills-skills-scrolls