init-workspace

init-workspace is a skill for Claude Code from MostAshraf/ai-sdlc-harness. It costs 52 tokens per session (3,090 once invoked), scanned A, original, MIT.

A human-only setup procedure for the ai-sdlc-harness workspace pipeline. The pipeline is a set of tools and rules for managing software-development work.

In plain words
What is it for?
Use it once when explicitly starting a workspace, or to refresh individual setup sections later.
Why use it?
It records the user's consent and prepares workspace settings, paths, permissions, and installation details before the pipeline is used.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ai-sdlc-harness plugin — 8 skills, 4 commands, 3 agents, 4 hooks shipped together

Good fit Use it once when explicitly starting a workspace, or to refresh individual setup sections later.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add MostAshraf/ai-sdlc-harness
Claude Code
/plugin install ai-sdlc-harness

Made for: Claude Code.

Or install ai-sdlc-harness, the plugin that ships this one along with the rest of its 8 skills, 4 commands, 3 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for init-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/mostashraf/ai-sdlc-harness/init-workspace.svg)](https://agentmods.dev/skills/mostashraf/ai-sdlc-harness/init-workspace)
Your own site
<a href="https://agentmods.dev/skills/mostashraf/ai-sdlc-harness/init-workspace"><img src="https://agentmods.dev/badge/skills/mostashraf/ai-sdlc-harness/init-workspace.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,090 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.03090
Opus 5 $0.00026 $0.01545
Sonnet 5 $0.00010 $0.00618
Haiku 4.5 $0.00005 $0.00309

Measured 8d ago against content hash 48363ad240ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

init-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/init-workspace/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

init-workspace — the interview (M7)

Human-only: the user's consent point for the whole workspace. Every command below is ${CLAUDE_PLUGIN_ROOT}/bin/harness <verb> … — always the full path; a bare harness is not on PATH, and shell variables set in one Bash call do not persist to the next. Re-running refreshes one section at a time (init-section), never a full-nuke.

0 · Environment bootstrap (do this FIRST)

Resolve the plugin root. Under native Qwen Code (no Claude-plugin conversion), ${CLAUDE_PLUGIN_ROOT} is not exported until step 6 writes .qwen/settings.json, and even then only next session. Each Bash call is a fresh subprocess (an export won't persist), so the probe prints the resolved path for you to substitute textually; if the var is already set (Claude Code, converted install) the probe passes it through unchanged:

Folder-trust caveat (Qwen Code): project-level .qwen/settings.json is silently ignored unless the folder is trusted (trusted-folders is OFF by default, measured on 0.22.2) — the CLAUDE_PLUGIN_ROOT export and the permission mirror don't apply, so subagents hit the prompts the allowlist was meant to pre-clear. The pipeline's hooks are unaffected (they ship with the extension). Remedy: trust the folder (Qwen /permissions → Trust this folder, then restart) or export CLAUDE_PLUGIN_ROOT in the launching shell.

# Resolve the plugin root and print it (native Qwen first-run fallback)
R="${CLAUDE_PLUGIN_ROOT:-}"
[ -z "$R" ] && for d in "$HOME/.qwen/extensions/ai-sdlc-harness/bin/harness" \
  "$HOME/.qwen/extensions/ai-sdlc-harness/.qwen-extension-install.json"; do
  [ -e "$d" ] && { case "$d" in *install.json) R=$(python3 -c \
    "import json,sys;print(json.load(open(sys.argv[1])).get('source',''))" "$d");; \
    *) R=$(dirname "$(dirname "$d")");; esac; [ -x "$R/bin/harness" ] && break; }; done
[ -x "$R/bin/harness" ] || { echo "ERROR: set CLAUDE_PLUGIN_ROOT to the dir with bin/harness" >&2; exit 1; }
echo "PLUGIN_ROOT=$R"

Read the full file on GitHub · 200 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 200 lines · 52 tokens per session scan A 48363ad240ee

Subscribe to this mod's changes

init-workspace is a skill published in the GitHub repository MostAshraf/ai-sdlc-harness (18 stars, last pushed 11d ago), licensed MIT. It adds 52 tokens to every session and 3,090 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.