Skip to content
Back to skills

Xllm Setup

ASecurity

Setup and doctor for xllm. Creates artifact dirs, remembers advisor script path for this project, checks cloud/local providers, and prints recommended commands.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsbashnode

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add kimmingul/xllm --skill xllm-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xllm Setup?

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

Security grade badge for Xllm Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kimmingul-xllm-setup/badge)](https://www.skillsdirectory.com/skills/kimmingul-xllm-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: xllm-setup
description: >
  Setup and doctor for xllm. Creates artifact dirs, remembers advisor script
  path for this project, checks cloud/local providers, and prints recommended commands.
user-invocable: true
---

# /xllm-setup — Install health check

> `<state>` = project state dir: `.xllm/` (default) or legacy `.grok/` when the project already uses it.

Run these steps (do not only describe them).

## 1. Resolve + remember advisor path

Find `xllm-advisor.js` via (first hit):

- `.xllm/xllm-advisor-path` (legacy: `.grok/xllm-advisor-path`)
- `XLLM_ADVISOR_PATH` / `GROK_PLUGIN_ROOT` / `XLLM_PLUGIN_ROOT`
- `./scripts/xllm-advisor.js`
- plugin checkout path the user has open

Then run:

```bash
node <advisor.js> --remember
node <advisor.js> --which
```

Confirm `.xllm/xllm-advisor-path` (or legacy `.grok/`) exists and points at a
real file.

## 2. Artifact directories

Ensure:

```text
<state>/artifacts/ask|xllm|proposals|exec/
```

(`--remember` / `--doctor` also create these.)

## 2.5 Project advisor wizard (posture packs — optional)

Resolve pins deterministically; the skill only renders and confirms.

1. **Preview the recommended pack** (default `balanced`):

   ```bash
   node <advisor.js> --setup balanced --json
   ```

   The resolver returns `{ roles, warnings, evidence, recommended_packs }`.
   `balanced` leaves analysis/design OPEN (measured routing) and pins at most a
   free local critic — a pin FREEZES measured routing, so packs pin only genuine
   constraints. `quality` = max-spend lock, `frugal` = cost lock, `local` =
   offline lock, `skip` = clear pins.

2. **Ask ONE question**, offering the first four of `recommended_packs` (always
   include `skip`). Show the effort legend (Quick=low / Standard=medium /
   Deep=high) and one-line role glosses. Never invent cloud model names — cloud
   pins omit the model.

3. **Show the resolved preview** (roles + warnings + which stay OPEN and why),
   then on the user's accept:

   ```bash
   node <advisor.js> --setup <pack> --apply
   ```

   Partial tweak: `--role analysis=grok@high` (validated; one bad override writes
   nothing). Reverting: `node <advisor.js> --setup skip --apply` clears the
   posture pins. Verify with `node <advisor.js> --profile-show`.

Never send repository contents to advisors during setup; analyze locally, persist
only the resulting config.

## 2.7 Execution policy + auth (privacy)

`execution_policy` is `any` (default) or `local-only`
(`node <advisor.js> --set-default execution_policy local-only`, or the `local`
pack). `local-only` is strict and fails closed: only providers verified as
running on this machine pass; `unknown` location is refused, not assumed local;
no flag bypasses it. Auth is **unknown until observed** — token-free probes
never report auth as success, and only an observed failure vetoes a provider.

xllm no longer installs process-discipline text into CLAUDE.md/AGENTS.md. A
block installed by an earlier version is removed only on the user's request:
`node <advisor.js> --discipline remove`. Never edit instruction files yourself.

## 3. Doctor

```bash
node <advisor.js> --doctor
# or human summary:
node <plugin>/scripts/xllm-doctor.js
```

Report READY / PARTIAL / MISSING.

## 4. Optional smoke

If at least one provider READY:

```bash
node <advisor.js> --dry-run <readyProvider> "setup smoke"
node <advisor.js> ollama:… "Reply with exactly: xllm-setup-ok"
```

## 5. Inventory

Skills: ask, xllm, xllm-setup (agents were removed in v0.20.0 — host-native
agents cover them)

## 6. User summary

Print:

- Advisor path + marker path
- Ready providers
- Recommended:

```text
/xllm <local>,<cloud> "…"
/ask <provider> "…"
```

- Eligibility: only advisors with a verified read-only boundary run by default;
  `doctor` shows that separately from "binary installed"
- Docs: `docs/install.md`

## Usage

```text
/xllm-setup
```

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.