Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Featree

ASecurity

Use to create a `feat/<slug>` bookmark AND spin up a new git worktree under `<repo-root>/.worktrees/<slug>`, then initialize crosslink hooks and an agent identity in the worktree so a child agent can work there. Trigger when the user says "make a worktree for <feature>", "/featree …", or asks to spin up an isolated workspace for a feature.

1,420 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentrustbashgit

Works with

claude code

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add openwpm/OpenWPM --skill featree --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Featree?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Featree
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openwpm-featree/badge)](https://www.skillsdirectory.com/skills/openwpm-featree)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: featree
description: Use to create a `feat/<slug>` bookmark AND spin up a new git worktree under `<repo-root>/.worktrees/<slug>`, then initialize crosslink hooks and an agent identity in the worktree so a child agent can work there. Trigger when the user says "make a worktree for <feature>", "/featree …", or asks to spin up an isolated workspace for a feature.
---

# Featree — feature bookmark + git worktree

The user provides a human-readable feature description (e.g. "add batch retry logic"). First create a feature bookmark using the `feature` skill, then move it into a new git worktree.

> This repo is colocated jj+git. Child-agent isolation uses **git worktrees** (this is what `crosslink kickoff` creates), not jj workspaces — a git worktree is a plain checked-out branch directory. The `feature` skill's jj bookmark auto-exports to a git branch, so `git worktree add … feat/<slug>` resolves it.

## 1. Create the feature bookmark

- Invoke the `feature` skill with the user's description as the argument.
- This creates the `feat/<slug>` bookmark and a new change on top of it.
- Note the bookmark name that was created.

## 2. Generate worktree path

- The worktree directory is `<repo-root>/.worktrees/<slug>` (inside the repo, gitignored).
- Extract the slug from the bookmark name by stripping the `feat/` prefix.
- Create the `.worktrees` directory if it doesn't exist: `mkdir -p <repo-root>/.worktrees`
- Ensure `.worktrees/` is gitignored: check if it's already in `.gitignore`, and if not, append it.

## 3. Create the git worktree

```bash
git worktree add <repo-root>/.worktrees/<slug> feat/<slug>
```

This checks out `feat/<slug>` into an isolated directory with its own working tree and HEAD. Changes made there do not affect the parent checkout until they land on the shared branch.

List worktrees to confirm: `git worktree list`

## 4. Initialize crosslink in the worktree

After creating the worktree, initialize crosslink so the child agent has proper hooks, skills, and access to shared state:

```bash
# In the worktree directory:
cd <worktree-path>

# Set up crosslink hooks and skills in the worktree
crosslink init --force
# NOTE: `crosslink init --force` REPLACES (does not merge) the project's
# `.claude/settings.json` hooks — re-add the project's RTK rewrite hook afterward.

# Initialize agent identity for this worktree
# Format: <parent-agent>--<feature-slug>
crosslink agent init <parent-agent>--<feature-slug>

# Sync latest issues from the coordination branch
crosslink sync
```

The agent ID should be derived from the parent agent name and the feature slug. For example, if the parent agent is `m1` and the feature slug is `add-retry`, the agent ID would be `m1--add-retry`.

To get the parent agent name, check `crosslink agent status --json` in the parent repo, or default to the machine hostname.

## 5. Report to user

Print a summary:

```
Worktree: <path>
Branch:   feat/<slug>

To start working:
  cd <worktree-path>

To return to the main checkout, just work from the original directory.
To remove this worktree when done: git worktree remove <path>
```

## Constraints

- Never force-push or delete branches.
- Do not push the branch to a remote — the user will do that when ready.
- Worktrees MUST be placed inside `<repo-root>/.worktrees/` to inherit the project's Claude Code trust scope and settings hierarchy.

Attribution

openwpmopenwpm
View sourceMore from openwpm →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284972 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10311 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →