Skip to content
Back to skills

Setup

ASecurity

Check the education plugin's userConfig values and the repository's docs/conventions/education.yaml, and write that file after confirmation.

  • 34 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsgobashgit

Works with

  • claude code
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add melodic-software/claude-code-plugins --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-setup-734ec097/badge)](https://www.skillsdirectory.com/skills/melodic-software-setup-734ec097)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Check the education plugin's userConfig values and the repository's docs/conventions/education.yaml, and write that file after confirmation."
argument-hint: "[check|apply] [<key>=<value> ...]"
user-invocable: true
disable-model-invocation: true
---

# Setup

## Purpose

Confirm how `/education:quiz-me` offers comprehension checks, where generated quiz reports are
stored, where `/education:teach` roots its learning workspaces, and where `/education:explain`
starts. The plugin has two kinds of configuration:

- **Native `userConfig`**: `quiz_policy`, `report_library_dir`, `workspace_root`,
  `explain_starting_rung` and `medium`. Claude Code owns asking for and storing them:
  [user configuration](https://code.claude.com/docs/en/plugins-reference#user-configuration) and
  [where values are stored](https://code.claude.com/docs/en/plugins-reference#where-values-are-stored).
  This skill reads their rendered values and never writes them. The
  shared medium resolver weighs `medium` against the repository's rendered-views files when
  `/education:illustrate` or `/education:teach` runs, so `check` does not report it.
- **One tracked consumer file**: `docs/conventions/education.yaml`, the repository layer for
  `explain_starting_rung` (keys, values and layers:
  [`${CLAUDE_PLUGIN_ROOT}/reference/config.md`](${CLAUDE_PLUGIN_ROOT}/reference/config.md);
  schema: `${CLAUDE_PLUGIN_ROOT}/schemas/education.schema.json`). A value set there wins over the
  user's `userConfig` value.

Action routing: no argument or `check` runs the check; `apply` runs the check, then writes the
repository file, plus, on an explicit yes to the convention-home offer, the instruction-file region
and the `.gitignore` line (`apply` step 4). Re-running either reads the current state again. With complete
`<key>=<value>` arguments, nothing asks a question; the one confirmation is a diff to an existing
file (`apply` step 4).

Official contract: <https://code.claude.com/docs/en/plugins/manifest-reference#user-configuration>.

## `check` (read-only)

Report a PASS/INFO/WARN table. Write nothing.

1. Read the rendered `${user_config.quiz_policy}`, `${user_config.report_library_dir}`,
   `${user_config.workspace_root}` and `${user_config.explain_starting_rung}` values from this
   skill. Do not inspect or edit `settings.json`, `settings.local.json`, managed settings, or
   `pluginConfigs` directly. A literal unexpanded `${user_config.<key>}` means unset.
2. Explain the effective `quiz_policy`:
   - `off`, quiz-me never offers a post-work quiz;
   - `on-request` (default), offers only when asked;
   - `always`, offers after each completed change;
   - `above-threshold`, offers when the change is large;
   - any other value is treated as `on-request` at runtime.
3. Explain the effective report library root:
   - empty or unexpanded `report_library_dir`, reports live under the plugin's own persistent
     data directory;
   - configured directory outside the consuming project, reports and recall search that checkout;
   - configured directory that is `${CLAUDE_PROJECT_DIR}` or nested under it, quiz-me's
     repo-tree guard refuses it and falls back to `${CLAUDE_PLUGIN_DATA}` (same effective root
     as unset).
4. Explain the effective teach workspace root:
   - empty or unexpanded `workspace_root`. First read the rung-3 pointer file
     `${CLAUDE_PLUGIN_DATA}/workspace-root`: when present and it names an existing directory,
     report that path as the effective topic-mode root (it persists a prior one-time ask, and
     also records the migration-offer outcome); when absent or invalid, report the documented
     ladder (project declaration → this setting → one-time ask → OS Documents `Claude Learning/`
     home for topic mode → plugin data); codebase-mode workspaces stay under plugin data by
     default either way (their lessons can embed private-repo snippets; Documents roots are
     often cloud-synced);
   - configured directory outside the consuming project, both modes root there;
   - configured directory that is `${CLAUDE_PROJECT_DIR}` or nested under it, teach's
     repo-tree guard refuses it (a committed root requires a declaration in the project's own
     CLAUDE.md or rules), falling back to the rest of the ladder.
5. **Repository settings.** Run
   `"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check` from the project root and report each
   line it prints under its own INFO, PASS or WARN prefix: INFO when
   `docs/conventions/education.yaml` is absent (every key comes from `userConfig` or its default);
   PASS with each key's value when the file validates; WARN when it does not (a value outside the
   key's list, a key set twice, an empty or null value, a map or list where one string belongs, or a
   key the schema does not list), quoting the file, key and value. An invalid value never stops
   `/education:explain`, which names it and drops that layer, so the row is a WARN. `apply` fixes
   only a value that is outside the list, empty or null, and keeps an unknown key's line as
   written; every other WARN needs a hand edit first, and `apply` refuses the file until it gets
   one. Then state the effective `explain_starting_rung`: the file's value when valid, else the
   `userConfig` value when it is `plain` or `peer`, else `plain`, naming the layer that supplied it.
6. State the tradeoff instead of asking: machine-private plugin data (default) versus a dedicated
   corpus checkout for long-lived recall across machines. For a repository-backed library,
   inspect the consumer's artifact conventions and recommend one portable location. Never
   recommend a machine-absolute team path.
7. To change a `userConfig` value such as `quiz_policy`, reconfigure through Claude Code's native
   flow, interactively with `/plugin configure education@<marketplace>` or by a headless route, as
   the marketplace's plugin-reconfiguration convention gives them in
   [§ The routes](../../reference/plugin-reconfiguration.md#the-routes)
   (it owns the verified-version record). Apply the scope and failure-signal caveats in its
   [§ Caveats every setup skill's short form carries](../../reference/plugin-reconfiguration.md#caveats-every-setup-skills-short-form-carries).
   Read both sections and print what they give, the fallback route, its behavior on an
   already-installed plugin and the scope to pass included, rather than only naming them, and
   leave out the verified-version record.
   Never uninstall to reconfigure; that section links what an uninstall deletes. This skill never
   writes user settings or `pluginConfigs`. To set a value for the whole repository instead, use
   `apply`.

   - **Pointer**: for the headless command's flags, how it reports a saved or refused value, and
     when a saved value applies, fetch
     [plugin CLI reference § plugin configure](https://code.claude.com/docs/en/plugins/cli-reference#plugin-configure)
     live.
8. Tell the user to rerun `check` after a `userConfig` change in a **fresh session**, since a
   same-session `check` can still show the old value. Then report the observed effective settings,
   never an unobserved change.

## `apply` (writes `docs/conventions/education.yaml`, and the step 4 region and ignore line on a yes)

1. Run `check` and show its table.
2. **Resolve the values.** With complete `<key>=<value>` arguments, use them. Otherwise ask one key at
   a time, recommendation first, from the Keys table in `${CLAUDE_PLUGIN_ROOT}/reference/config.md`
   (`explain_starting_rung`: `plain`, the default, unless the team's readers already know the
   domain and want `peer`). Never invent a key the schema does not list. A request to change
   `quiz_policy`, `report_library_dir` or `workspace_root` is not an `apply` key: route it through
   `check` step 7.
3. **Write.** One call with every value:

   ```bash
   "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" explain_starting_rung=peer
   ```

   Pass `--default <key>` as `${CLAUDE_PLUGIN_ROOT}/reference/setup-apply.md` "Defaults" says.

   The script writes only the keys named on the command line and keeps every other line of an
   existing file. It validates the existing file first, and over it fixes only a value that is
   outside the key's list, empty or null. It refuses with one line, exits 1 and leaves the file
   untouched when a command-line key is outside the schema or given twice, a command-line value is
   outside the key's list, or the existing file sets a key twice (`key : v` counts as `key: v`),
   holds a map or list in any form (`[]`, `[peer]`, `{level: peer}` or an indented block), holds an
   empty quoted string, names a key the schema does not list twice or with a map or list, or does
   not parse. Any other unknown key is named in one warning and its line kept as written. It writes
   the file only at `<git toplevel>/docs/conventions/education.yaml`: it resolves a symlinked root first, then
   refuses a root that is `$HOME` or an ancestor of it, a symlinked `docs`,
   `docs/conventions` or target, a `docs/conventions` that resolves outside the repository, and a
   target with more than one hard link, and checks the path again right before the write, which
   goes to a new temp file beside the target and is renamed over it. A directory or file in the way
   is a one-line refusal. A missing file is created. A value already in place prints
   `already configured` and writes nothing.
4. **Diff, convention-home offer and verify.** Follow `${CLAUDE_PLUGIN_ROOT}/reference/setup-apply.md` from "A file that would
   change" through "Verify", with `<file>` = `docs/conventions/education.yaml` and `<apply-script>` =
   `"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs"`.

## Output

`check`: the effective `quiz_policy`, report-library root, teach workspace root and
`explain_starting_rung` with its supplying layer, the repository-file rows, and any recommended
changes with the route for each. `apply`: the table before and after, the diff when one was shown,
the written path, and whether the file is tracked. Do not claim a configuration change until a
rerun observes it.

## Next

`/education:explain`

## What this skill does not do

- Do not start a teach, explain, or quiz session; use `/education:teach`, `/education:explain`,
  or `/education:quiz-me`.
- Do not write the plugin cache, Claude Code user settings, or `pluginConfigs`, per the uniform
  setup contract (`docs/plugin-philosophy.md` "Setup is explicit and repeatable" in the
  marketplace repository).
- Write no file other than `docs/conventions/education.yaml`, except the `apply` step 4 region and
  ignore line on an explicit yes, and never commit.
- Do not invent an organization, repository, marketplace, or environment-variable prefix.

Files in this skill

  • SKILL.md5.4 KB
  • evals/evals.json1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.