Skip to content
Back to skills

Newleaf

ASecurity

Turn over a new leaf. Writes a handoff note of where the work stands, so /clear starts a fresh, small session that keeps the thread. Use when the user types /newleaf, asks to hand off or start fresh, or when newleaf says the chat has grown.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsshellbashgit

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add zannn123/newleaf --skill newleaf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Newleaf?

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

Security grade badge for Newleaf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zannn123-newleaf/badge)](https://www.skillsdirectory.com/skills/zannn123-newleaf)

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: newleaf
description: Turn over a new leaf. Writes a handoff note of where the work stands, so /clear starts a fresh, small session that keeps the thread. Use when the user types /newleaf, asks to hand off or start fresh, or when newleaf says the chat has grown.
allowed-tools: Bash(git:*), Bash(date:*), Bash(head:*), Bash(echo:*)
---

Facts, gathered just now:
- date: !`date '+%Y-%m-%dT%H:%M:%S%z'`
- branch: !`git rev-parse --abbrev-ref HEAD 2>/dev/null || echo none`
- head: !`git rev-parse --short HEAD 2>/dev/null || echo none`
- changed files: !`git status --short 2>/dev/null | head -20`
- recent commits: !`git log --oneline -5 2>/dev/null || echo none`

If a fact above still shows its command instead of a value (some tools do not run these), run those commands yourself in one shell call first.

Write the handoff note now, in this one reply, with no other tool calls. Put it between the two marker lines exactly as shown, with no code fence around it: newleaf saves what is between them to `.newleaf/handoff.md` and loads it into the next session.

<newleaf-note>
---
written: <date from the facts>
branch: <branch from the facts>
head: <head from the facts>
---
## Rules in play
The user's rules this work depends on that CLAUDE.md and memory do not already hold, one line each, in their words where possible.
## Decided
Decisions made in this conversation, each with its reason in a few words, including what was decided against.
## State
Done and verified (commits, test results); in progress (files touched, uncommitted changes); not started.
## Next
The exact next step.
## Open
Questions only the user can answer.
</newleaf-note>

After the closing marker, one line: `Saved for the next session. Type /clear to continue fresh.`

Rules for the note:
- Only facts from this conversation and the facts above. Mark anything not verified "(unverified)". No new ideas, no plans the user did not agree to.
- Under 60 lines. Leave a section with "none" rather than padding it.
- No secrets, keys, passwords or personal data.

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.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.