Agent skill

Closedloop Env

by closedloop-ai in closedloop-ai/claude-plugins

Provides ClosedLoop environment paths (CLOSEDLOOPWORKDIR, CLAUDEPLUGINROOT) to agents.

Apache-2.0Auto-check passed

Install Closedloop Env

skills CLI
$ npx skills add closedloop-ai/claude-plugins --skill closedloop-env -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install closedloop-ai/claude-plugins closedloop-env --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/closedloop-ai/claude-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/code/skills/closedloop-env .claude/skills/closedloop-env && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
closedloop-env
GitHub stars
122
Token cost
~391 tokens
SKILL.md length
152 words
Files
2 (incl. scripts)
Skills in repo
41
Repo updated
First seen
Licence
Apache-2.0

At a glance

Provides ClosedLoop environment paths (CLOSEDLOOPWORKDIR, CLAUDEPLUGINROOT) to agents.

  • Works in 3 steps: Review the patterns before starting your… → Apply relevant patterns to your work → Acknowledge which patterns you applied…
  • SKILL.md covers Get Environment Paths, Common Paths and Organization Learnings
  • Runs Shell scripts from its folder

What it does

Closedloop Env is an agent skill from closedloop-ai/claude-plugins. Provides ClosedLoop environment paths (CLOSEDLOOPWORKDIR, CLAUDEPLUGINROOT) to agents. This skill should be used by any agent that needs to access ClosedLoop run directories, plugin schemas, or other path-dependent resources.

Its SKILL.md is about 390 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/get-env.sh`).

The repository describes itself as: Open-source Claude Code plugins for multi-agent software delivery. Plan-first SDLC workflow, code review, LLM quality judges, and self-learning — grounded in your codebase… The licence is Apache-2.0.

Example prompts

  • “Use the closedloop-env skill to provide ClosedLoop environment paths (CLOSEDLOOPWORKDIR, CLAUDEPLUGINROOT) to agents”
  • “/closedloop-env”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Review the patterns before starting your task
  2. Apply relevant patterns to your work
  3. Acknowledge which patterns you applied in your response using the format specified in the learnings block

What it can do on your machine

Read from SKILL.md and the folder at commit 476b54c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Closedloop Env loads about 391 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 152 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~391

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from closedloop-ai/claude-plugins at commit 476b54c, republished under its Apache-2.0 licence (© closedloop-ai). 152 words, ~391 tokens.

Download SKILL.mdSave it as .claude/skills/closedloop-env/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
closedloop-env
description
Provides ClosedLoop environment paths (CLOSEDLOOP_WORKDIR, CLAUDE_PLUGIN_ROOT) to agents. This skill should be used by any agent that needs to access ClosedLoop run directories, plugin schemas, or other path-dependent resources.

ClosedLoop Environment

This skill provides access to ClosedLoop environment variables needed for file operations.

Get Environment Paths

Read the base environment file:

.closedloop-ai/env

The file contains KEY=VALUE pairs:

  • CLOSEDLOOP_WORKDIR - The run directory for this session
  • CLAUDE_PLUGIN_ROOT - The plugin installation directory
  • CLOSEDLOOP_PRD_FILE - Path to the PRD file
  • CLOSEDLOOP_MAX_ITERATIONS - Maximum loop iterations

Common Paths

After reading the env file, construct paths like:

  • Schema file: {CLAUDE_PLUGIN_ROOT}/schemas/plan-schema.json
  • Plan file: {CLOSEDLOOP_WORKDIR}/plan.json

Organization Learnings

Also read your agent-specific learnings file if it exists:

.closedloop-ai/learnings-{your-agent-name}

Where {your-agent-name} is your name: from your frontmatter in lowercase (e.g., plan-validator).

The learnings file contains an <organization-learnings> block with patterns from previous runs. These learnings capture what worked well and should be applied to improve your performance.

When learnings are present:

  1. Review the patterns before starting your task
  2. Apply relevant patterns to your work
  3. Acknowledge which patterns you applied in your response using the format specified in the learnings block

© closedloop-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in plugins/code/skills/closedloop-env of closedloop-ai/claude-plugins.

  • SKILL.md
  • scripts/get-env.sh

Open the folder on GitHubat commit 476b54c

Compare with similar skills

Closedloop Env next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Closedloop Env compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Closedloop Env this skillclosedloop-ai/claude-plugins122—~391Automated safety check: PassApache-2.0
Rootly AutomationComposioHQ/awesome-claude-skills77k3 repos~727Automated safety check: PassNone
Monte Carlo Analyze Root Causesickn33/agentic-awesome-skills47k1 repos~4kAutomated safety check: PassApache-2.0
Issue Root ResolutionGentleman-Programming/gentle-ai7.6k—~1.4kAutomated safety check: PassApache-2.0
Rust Path Typesopeninterpreter/openinterpreter69k2 repos~605Automated safety check: PassApache-2.0
Root Cause Paretodavila7/claude-code-templates32k—~791Automated safety check: PassMIT

Similar skills

  • Rootly Automation

    ComposioHQ/awesome-claude-skills

    Automate Rootly tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~727 tokens
    Productivity & AutomationAuto-check passed
  • Monte Carlo Analyze Root Cause

    sickn33/agentic-awesome-skills

    Curated upstream guidance for Monte Carlo Analyze Root Cause; use when the workflow matches the user goal.

    47k GitHub starsUsed in 1 repo~4k tokens
    DevelopmentAuto-check passed
  • Issue Root Resolution

    Gentleman-Programming/gentle-ai

    Trigger: root audit, atacar la raíz, issue roots, backlog roots, mechanism map, deletion-driven fix, resolver issues de raíz, close outdated issues.

    7.6k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Rust Path Types

    openinterpreter/openinterpreter

    Rules for choosing Rust types for filesystem paths in new Codex code, covering protocol types, internal use and model tool arguments.

    69k GitHub starsUsed in 2 repos~605 tokens
    DevelopmentAuto-check passed
  • Root Cause Pareto

    davila7/claude-code-templates

    Build a decision-grade Pareto for downtime, defects, complaints or delays - with unit-of-measure discipline, category hygiene, exposure normalization and a follow-up metric.

    32k GitHub stars~791 tokensUpdated today
    DevelopmentAuto-check passed
  • Python Env

    asgeirtj/system_prompts_leaks

    Setting up or installing into a Python environment. An agent skill from asgeirtj/system_prompts_leaks.

    69k GitHub stars~676 tokensUpdated today
    Auto-check passed

More from closedloop-ai/claude-plugins

All 41 skills in this repo
  • Codex Review

    closedloop-ai/claude-plugins

    Run Codex to review a plan file and return structured feedback with a verdict.

    122 GitHub stars~1.4k tokensUpdated today
    Auto-check: notes
  • Critic Cache

    closedloop-ai/claude-plugins

    Check if critic reviews are still valid before re-running Phase 2.5 critics.

    122 GitHub stars~528 tokensUpdated today
    Auto-check: notes
  • Cross Repo Cache

    closedloop-ai/claude-plugins

    Check if cross-repo coordinator results can be reused, avoiding redundant Sonnet agent launches.

    122 GitHub stars~683 tokensUpdated today
    Auto-check: notes
  • Eval Cache

    closedloop-ai/claude-plugins

    Check for a cached plan-evaluation.json result before launching the plan-evaluator agent.

    122 GitHub stars~516 tokensUpdated today
    Auto-check: notes
  • Find Plugin File

    closedloop-ai/claude-plugins

    This skill should be used when needing to locate files within the Claude Code plugins cache directory (~/.claude/plugins/cache).

    122 GitHub stars~812 tokensUpdated today
    Auto-check passed
  • Gh Monitor PR

    closedloop-ai/claude-plugins

    Start a detached GitHub pull-request monitor that wakes the exact launching Codex Desktop or CLI root through the managed Codex App Server when review, CI, conflict, merge-queue, closure, readiness…

    122 GitHub stars~5.1k tokensUpdated today
    Auto-check passed

Questions about Closedloop Env

What does Closedloop Env do?

Provides ClosedLoop environment paths (CLOSEDLOOPWORKDIR, CLAUDEPLUGINROOT) to agents. Closedloop Env is an agent skill from closedloop-ai/claude-plugins. Provides ClosedLoop environment paths (CLOSEDLOOPWORKDIR, CLAUDEPLUGINROOT) to agents.

How do I install Closedloop Env in Claude Code?

Run `npx skills add closedloop-ai/claude-plugins --skill closedloop-env -a claude-code`. Or copy the skill folder (plugins/code/skills/closedloop-env in closedloop-ai/claude-plugins) into .claude/skills/closedloop-env in your project. Claude Code loads it when a task matches its description.

How do I install Closedloop Env in Codex?

Run `npx skills add closedloop-ai/claude-plugins --skill closedloop-env -a codex`. Or copy the skill folder (plugins/code/skills/closedloop-env in closedloop-ai/claude-plugins) into .agents/skills/closedloop-env in your project. Codex loads it when a task matches its description.

Can I use Closedloop Env in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add closedloop-ai/claude-plugins --skill closedloop-env -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/closedloop-env, .gemini/skills/closedloop-env, .github/skills/closedloop-env and .opencode/skills/closedloop-env in your project.

What does Closedloop Env need to run?

Going by SKILL.md and its folder, Closedloop Env needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Closedloop Env access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Closedloop Env safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Closedloop Env use?

Closedloop Env is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Closedloop Env use?

About 391 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Closedloop Env?

Skills that share tags, products or a category with Closedloop Env: Rootly Automation (ComposioHQ/awesome-claude-skills, 77k stars), Monte Carlo Analyze Root Cause (sickn33/agentic-awesome-skills, 47k stars), Issue Root Resolution (Gentleman-Programming/gentle-ai, 7.6k stars) and Rust Path Types (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Closedloop Env?

closedloop-ai (a GitHub organization) maintains it in closedloop-ai/claude-plugins, which has 122 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 7, 2026.

Source: closedloop-ai/claude-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.