claude-plugins: Command for Claude Code

.claude/commands/import-humanlayer.md

import-humanlayer is a command for Claude Code from jeffh/claude-plugins. It costs 11 tokens per session (867 once invoked), scanned A, original, Apache-2.0.

A repository command that copies HumanLayer commands and agents from a supplied folder into the current project, then removes their thought-sync instructions. HumanLayer is a toolset whose commands and agents guide coding work.

In plain words
What is it for?
It checks the source folder, copies files from its .claude directories, reports what was copied, and removes references to thoughts sync.
Why use it?
It avoids manually copying and editing many command and agent files when reusing them in another repository.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is jeffh/claude-plugins's own configuration. It tells Claude Code how to work on claude-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-plugins configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jeffh/claude-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jeffh/claude-plugins/main/.claude/commands/import-humanlayer.md
Clone the repo
git clone --depth 1 https://github.com/jeffh/claude-plugins

Made for: Claude Code.

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 import-humanlayer

README.md
[![agentmods](https://agentmods.dev/badge/commands/jeffh/claude-plugins/import-humanlayer/github.svg)](https://agentmods.dev/commands/jeffh/claude-plugins/import-humanlayer)
Your own site
<a href="https://agentmods.dev/commands/jeffh/claude-plugins/import-humanlayer"><img src="https://agentmods.dev/badge/commands/jeffh/claude-plugins/import-humanlayer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for import-humanlayer

Your own site · 80×15
<a href="https://agentmods.dev/commands/jeffh/claude-plugins/import-humanlayer"><img src="https://agentmods.dev/badge/commands/jeffh/claude-plugins/import-humanlayer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 867 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.00011 $0.00867
Opus 5.5 $0.00004 $0.00347
Sonnet 5.5 $0.00002 $0.00173
Haiku 4.5 $0.00001 $0.00087

Measured 1mo ago against content hash fa7bd50f5a5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

import-humanlayer 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 1mo 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.

.claude/commands/import-humanlayer.md · 103 lines

How it starts

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

Import HumanLayer Commands and Agents

You are tasked with importing humanlayer commands and agents from a source repository and adapting them for use in this repository.

Input

The user will provide a path to the humanlayer repository as an argument to this command.

Process

Step 1: Validate Input Path

  1. Check that the provided path exists and is a directory
  2. Verify that the path contains .claude/commands/ and .claude/agents/ directories
  3. If validation fails, report the error and stop

Step 2: Copy Files

  1. Copy all files from <humanlayer_repo>/.claude/commands/ to humanlayer/commands/
  2. Copy all files from <humanlayer_repo>/.claude/agents/ to humanlayer/agents/
  3. Use cp -r to preserve file attributes
  4. Report which files were copied

Step 3: Remove Syncing Functionality

For each copied file (both commands and agents):

  1. Read the file content
  2. Remove all references to syncing functionality:
    • Remove any usage of thoughts sync commands
    • Remove any sync-related instructions or steps
    • Remove any references to syncing thoughts directory
    • Remove any sync verification steps
  3. If a file is modified, write the updated content back
  4. Report which files were modified and what was removed

Step 4: Convert Script References to Skills

For each copied file (both commands and agents):

  1. Search for references to scripts in scripts/* and hack/* directory
  2. For each script reference found:
    • Read the script content from the source repository
    • Create a new skill directory in humanlayer/skills/ with a descriptive name based on the script's purpose
    • Create a SKILL.md file inside the skill directory with proper frontmatter:
      ---
      name: script-name
      description: What this skill does and when Claude should activate it
      allowed-tools: Bash, Read
      ---
      
    • Convert the script's functionality into skill instructions within SKILL.md
    • Replace the script reference in the original file with instructions to use the Skill tool
  3. Report which skills were created and which script references were replaced

Read the full file on GitHub · 103 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. 1mo ago First seen · 103 lines · 11 tokens per session scan A fa7bd50f5a5d

Subscribe to this mod's changes

import-humanlayer is a command published in the GitHub repository jeffh/claude-plugins (12 stars, last pushed 9d ago), licensed Apache-2.0. It adds 11 tokens to every session and 867 once invoked, about $0.0000 per session on Opus 5.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.