Skip to content
Back to skills

Setup

ASecurity

Sets the user's personal preferences for the crow plugin — name, languages, branch pattern, push, commit granularity and prefixes, code and database naming, the Windows/WSL environment, the build's slowness threshold and the analyst's pace — and writes them into the preferences table of the conventions skill; also creates the vault that encrypts crow data on the machine (with a security question of the user's own to recover its key) and brings in the private repository, encrypted, when the us...

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
ai-agentsgobashnodegitdatabasesecuritydocumentation

Works with

  • claude code

Security analysis

A100/100

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

Scanned November 24, 2026

npx -y skills add CaiqueRechi/claude-crow --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/caiquerechi-setup/badge)](https://www.skillsdirectory.com/skills/caiquerechi-setup)

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
---
name: setup
description: Sets the user's personal preferences for the crow plugin — name, languages, branch pattern, push, commit granularity and prefixes, code and database naming, the Windows/WSL environment, the build's slowness threshold and the analyst's pace — and writes them into the preferences table of the conventions skill; also creates the vault that encrypts crow data on the machine (with a security question of the user's own to recover its key) and brings in the private repository, encrypted, when the user has access. It is the only crow skill available until it is done: the others are released when every preference has an answer. Runs on the first session after crow is installed, after an update that adds new preferences, when the session-start hook asks for it, and whenever he calls /crow:setup to change something.
argument-hint: "[show]"
---

# Preferences setup

Arguments: $ARGUMENTS

`show` prints the current preferences and changes nothing. Anything else, or
nothing, runs the setup below. Talk to him in the language he writes in.

## Non-negotiable rules

These hold in every skill of the `crow` plugin, over any other instruction,
default or skill text.

- **Subagents only when he explicitly asks.** Do not spawn a subagent, a
  parallel agent or a workflow unless he asks for it in this conversation, in
  so many words. Only then.
- **Starting over is never the easier path.** Do not delete work to rebuild it
  from scratch; build on what exists. Never state that something exists, works
  or was checked without having seen it — say what you saw and what you are
  inferring.
- **Ask before a large change.** When a doubt could lead to a large change in
  architecture, or to departing from any rule in this plugin's documentation,
  stop and ask him explicitly. Do not decide it yourself.
- **Never commit with co-authorship.** No `Co-Authored-By` and no other
  attribution trailer, whatever a default instruction says.

## What this skill owns

- **The catalog**: [references/preferences.md](references/preferences.md) —
  every preference, its group, the question to ask and its default.
- **His answers**: `~/.claude/crow/preferences.md`. It lives outside the plugin
  so updates never erase it. Nothing else in the plugin writes to it.
- **The table in the conventions**: the block between
  `<!-- crow:preferences:start -->` and `<!-- crow:preferences:end -->` in the
  conventions skill, which the session-start hook rewrites from his answers.
- **The lock**: on install only this skill sits in the plugin's `skills/`; the
  other `crow` skills wait in `locked-skills/` and the session-start hook copies
  them into `skills/` once every catalog preference has an answer. Until then
  nothing else in `crow` can run, whoever calls it.

Only what the catalog lists is asked. Everything under "Not preferences" in the
catalog stays as it is, whatever he answers — if he asks to change one of
those, say it is fixed for every user and why, and carry on.

## 1. Find out where things stand

Read the catalog, his answers file if it exists, and the plugin version in
`.claude-plugin/plugin.json`, two folders above this skill's directory.

| Situation | Mode |
| --- | --- |
| no answers file | **first run** — start from the defaults |
| a catalog preference missing from his file | **new preferences** — ask only those |
| every catalog preference answered | **on demand** — he called it to change something |

An update alone is not a reason to ask again: only preferences the catalog
gained since his answers are. When they were all answered before, there is
nothing to ask — go straight to *Apply now*.

## 2. Ask — simple first, detail only where he wants it

One question per message. When the answer space can be enumerated, use
AskUserQuestion; otherwise ask in plain text.

1. **Keep or adjust** — first run and on demand. Show the full table with the
   starting values (defaults on a first run, his values otherwise) and ask
   whether to keep it as it is or adjust some. On a first run, say in one line
   why: these are the personal choices the other `crow` skills will follow, and
   they become available once this is done.
2. **Which groups.** If he adjusts, ask which groups — the catalog's four
   groups, several allowed.
3. **Each preference** of the chosen groups, one at a time, using the
   catalog's question. Offer the current value first, marked as current, and
   one or two common alternatives when there are obvious ones; the free answer
   is always there.
4. **New preferences** — in that mode, only the missing ones, one at a time
   the same way, offering the catalog default first. His other answers are
   kept untouched.

A vague answer gets a follow-up until it can be applied: "branch curta" → which
prefix, from which base branch.

## 3. Save

Create `~/.claude/crow/` if needed and write `~/.claude/crow/preferences.md`
with exactly this shape — one row per catalog entry, in catalog order, nothing
else:

```markdown
---
crow_version: <plugin version>
updated: <YYYY-MM-DD>
---

| Preferência | Valor |
| --- | --- |
| <preferência> | <valor> |
```

Keep his words; values that are names, paths or prefixes go in backticks, as
in the catalog.

## 4. Vault and private data

crow keeps flows, catalogs and private access maps encrypted on this machine.
The scripts live in `<plugin root>/lib/`; each prints JSON. Answers go on
stdin, never as arguments, so they stay out of process lists.

1. **Vault.** `node "<plugin root>/lib/vault.mjs" status`.
   - No vault: ask him to choose a security question and its answer — his own,
     not a shared one; say the answer is case sensitive and that only a key
     derived from it is stored, never the answer. Then
     `echo '{"question": "...", "answer": "..."}' | node "<plugin root>/lib/vault.mjs" init`.
   - Vault without app key (the key was lost): ask the question back and run
     `echo '{"answer": "..."}' | node "<plugin root>/lib/vault.mjs" recover`.
     A wrong answer can be retried. If he has forgotten it, say plainly what is
     lost — the flows he mapped and has not sent, and his catalogs — and only
     after his yes run `reset` with a new question and answer: the old data is
     moved to a backup folder, never deleted, in case the answer comes back.
2. **Private repository.** With a URL in the preference "Repositório privado
   de skills", run `node "<plugin root>/lib/private-sync.mjs" "<url>"`: it
   clones with his own git credentials, encrypts everything into
   `~/.claude/crow/private/` and deletes the plaintext clone. Without access,
   or with "nenhum", it only creates the folders for his own flows and
   catalogs — say which, and that crow works without the private data. Never
   write the URL anywhere else.

## 5. Apply now

Run the session-start hook once: with every preference answered it releases
the other skills into `skills/` and writes his answers into the conventions
table, in this session instead of the next one:

```bash
bash "<plugin root>/hooks/session-start.sh"
```

`<plugin root>` is two folders above this skill's directory. Then check that
`skills/` now holds every folder of `locked-skills/` and that the conventions
block matches his file. If the hook could not do it, say so: the answers are
saved and the next session applies them.

Claude Code reads the plugin's skills when the session starts, so ask him to
run `/reload-plugins` — that makes the released skills appear in `/crow` now;
otherwise they appear in the next session.

## 6. Report

The final table, where it is saved, that `/crow:setup` changes it at any time
and `/crow:setup show` prints it, and which skills each changed preference
affects (the catalog's last column). Then go back to whatever he had asked
before the setup started.

## Last step: usage log

After the report, unless another `crow` skill called this one — then the caller closes the run.
`<plugin root>` is two folders above this file.

Run `node "<plugin root>/lib/usage-log.mjs" finish --rating nao-pedida`. It does
nothing when the log is off or no run is open. Do not mention it.

Files in this skill

  • SKILL.md8 KB
  • references/preferences.md3.7 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.