Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

entire技能安全扫描

Agent Skill

entire 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

392

周安装

16

GitHub Stars

4

下载量

127
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:entire(技能安全扫描)
来源仓库:https://github.com/almeidamarcell/claude-code-skills
仓库路径:skills/entire
安装命令:
npx skills add https://github.com/almeidamarcell/claude-code-skills --skill entire
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/almeidamarcell/claude-code-skills --skill entire

简介

entire 是一个 AI 开发会话管理工具,支持创建检查点、倒带和历史追溯。

  • 适用于需要撤销更改、恢复工作环境或诊断会话问题的开发场景。
  • 通过 npx 从 GitHub 安装,命令为 npx skills add https://github.com/almeidamarcell/claude-code-skills --skill entire。
  • 安装前应验证是否已启用,并注意其非侵入式数据存储特性。
  • entire 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Entire - AI Session Tracking for Git

Overview

Entire hooks into your git workflow to capture AI agent sessions on every push. Sessions are indexed alongside commits, creating a searchable record of how code was written in your repo.

Core capabilities:

  • 📸 Checkpoint sessions - Save points you can rewind to
  • Rewind to any checkpoint - Restore code to earlier states
  • 📖 Explain sessions - Understand how code was created
  • 🔄 Resume previous work - Pick up where you left off
  • 🩺 Diagnose issues - Fix stuck sessions

When to Use This Skill

Use this skill when:

  • User wants to install/enable Entire
  • User mentions rewinding, undoing, or reverting AI changes
  • User wants to understand how code was generated
  • User asks about session history or checkpoints
  • User encounters Entire errors or stuck sessions
  • User wants to resume previous AI work

Don't use for:

  • Standard git operations (use git directly)
  • Code review (use standard review tools)
  • General debugging (unless related to Entire sessions)

Prerequisites Check

Before helping with Entire, verify:

# Check if Entire is installed
which entire

# Check if repository has Entire enabled
entire status

If not installed, guide user through installation first.

Installation & Setup

Installing Entire

Recommended: Homebrew (macOS/Linux)

brew tap entireio/tap
brew install entireio/tap/entire

Alternative: Go

go install github.com/entireio/cli/cmd/entire@latest

Enabling in Repository

Default setup (manual-commit strategy):

cd /path/to/your/repo
entire enable

With options:

# Use auto-commit strategy (creates git commits automatically)
entire enable --strategy auto-commit

# Setup for Gemini CLI instead of Claude Code
entire enable --agent gemini

# Disable automatic session push
entire enable --skip-push-sessions

# Force reinstall hooks
entire enable --force

# Save settings locally (not committed to git)
entire enable --local

What entire enable does:

  1. Installs git hooks to track AI sessions
  2. Creates .entire/ directory for configuration
  3. Sets up session tracking (default: manual-commit strategy)
  4. Your code commits stay clean - session metadata stored separately on entire/checkpoints/v1 branch

After enabling:

entire status  # Verify Entire is active

Key Concepts

Sessions

A session represents a complete interaction with your AI agent from start to finish.

Session ID format: YYYY-MM-DD-<UUID> Example: 2026-02-11-abc123de-f456-7890-abcd-ef1234567890

Sessions capture:

  • All prompts and responses
  • Files modified
  • Timestamps
  • Agent metadata

Storage: Sessions are stored on the entire/checkpoints/v1 branch, separate from your code.

Checkpoints

A checkpoint is a snapshot within a session - a save point you can rewind to.

Checkpoint ID format: 12-character hex string Example: a3b2c4d5e6f7

When checkpoints are created:

  • manual-commit strategy (default): When you or agent make a git commit
  • auto-commit strategy: After each agent response

Strategies

StrategyCode CommitsSafe on main?Best For
manual-commit (default)None on your branch✅ YesMost workflows - keeps git history clean
auto-commitAutomatic after each response⚠️ Use cautionTeams wanting automatic code commits

Switching strategies:

entire disable
entire enable --strategy auto-commit

Core Workflows

1. Check Current Session Status

Always start by checking status:

entire status

Output includes:

  • Current session ID
  • Active strategy
  • Number of checkpoints
  • Whether session is in progress

Interpreting status:

  • "No active session" - Start working with Claude Code/Gemini
  • "Session in progress" - Currently tracking
  • "Entire is disabled" - Run entire enable

2. Rewind to Previous Checkpoint

When agent makes unwanted changes:

entire rewind

Interactive flow:

  1. Shows list of available checkpoints with:

- Checkpoint ID - Timestamp - Associated commit message (if any)

  1. User selects checkpoint
  2. Code restored to that exact state

What rewind does:

  • Restores all files to checkpoint state
  • Preserves session history
  • Non-destructive (can rewind forward again)

Manual-commit strategy:

  • Always allows full rewind
  • Restores files from shadow branch

Auto-commit strategy:

  • Full rewind on feature branches
  • Logs-only on main (preserves shared history)

Example scenario:

User: "The Claude just broke my authentication, I want to go back"
Assistant: Let me help you rewind to before those changes.

$ entire rewind

# Then guide user through checkpoint selection

3. Resume Previous Session

To pick up where you left off on a different branch:

entire resume <branch-name>

What it does:

  1. Checks out the specified branch
  2. Restores latest checkpointed session metadata
  3. Prints command(s) to continue work

Example:

entire resume feature/auth
# Output:
# Checked out branch 'feature/auth'
# Restored session: 2026-02-11-abc123de...
# To continue: claude code continue

4. Explain Sessions and Commits

Understand how code was created:

# Explain current session
entire explain

# Explain specific session
entire explain <session-id>

# Explain specific commit
entire explain <commit-hash>

Use cases:

  • "How was this feature implemented?"
  • "What prompts led to these changes?"
  • "Why did the agent make this decision?"

Output includes:

  • Session transcript
  • Prompts and responses
  • Files touched
  • Reasoning and context

5. Troubleshooting with Doctor

When sessions are stuck or behaving strangely:

entire doctor

What doctor does:

  • Detects orphaned sessions
  • Identifies conflicting state
  • Suggests fixes
  • Can clean up automatically

Common issues doctor fixes:

  • Stuck sessions that won't checkpoint
  • Shadow branch conflicts
  • Metadata inconsistencies

Example:

User: "Entire says I have a session but I don't see any checkpoints"
Assistant: Let's run the doctor to diagnose this.

$ entire doctor

6. Clean Up Orphaned Data

Remove unused Entire data:

entire clean

What it cleans:

  • Orphaned shadow branches
  • Old session metadata
  • Unreferenced checkpoints

When to use:

  • After heavy rebasing
  • When switching strategies
  • Periodic maintenance

7. Reset Shadow Branch

Nuclear option when shadow branch is corrupted:

entire reset

⚠️ WARNING: This deletes the shadow branch and session state for current HEAD commit.

When to use:

  • Shadow branch conflicts that doctor can't fix
  • After complex git operations (rebase, merge conflicts)
  • Starting fresh on current commit

What it does:

  • Deletes entire/<HEAD-hash>-<worktree-hash> branch
  • Clears session state for current commit
  • Does NOT affect committed checkpoints on entire/checkpoints/v1

Use with force flag:

entire reset --force

8. Disable Entire

Temporarily or permanently disable:

entire disable

What it does:

  • Removes git hooks
  • Stops session tracking
  • Preserves all existing session data
  • Your code and commit history remain untouched

Re-enable:

entire enable --force

Configuration

Entire uses two config files in .entire/:

settings.json (Project Settings)

Shared across team, typically committed:

{
  "strategy": "manual-commit",
  "agent": "claude-code",
  "enabled": true
}

settings.local.json (Local Overrides)

Personal settings, gitignored:

{
  "enabled": false,
  "log_level": "debug"
}

Key Configuration Options

OptionValuesDescription
enabledtrue, falseEnable/disable Entire
log_leveldebug, info, warn, errorLogging verbosity
strategymanual-commit, auto-commitSession capture strategy
strategy_options.push_sessionstrue, falseAuto-push checkpoints branch
strategy_options.summarize.enabledtrue, falseAI-generated summaries
telemetrytrue, falseAnonymous usage stats

Editing config:

# Edit project settings
vim .entire/settings.json

# Edit local settings
vim .entire/settings.local.json

# Check effective settings
entire status

Advanced Features

Auto-Summarization

Generate AI summaries at commit time:

Enable:

{
  "strategy_options": {
    "summarize": {
      "enabled": true
    }
  }
}

Requirements:

  • Claude CLI installed and authenticated
  • claude command in PATH

What it captures:

  • Intent and outcome
  • Key learnings
  • Friction points
  • Open items

Git Worktrees Support

Entire works with git worktrees - each worktree has independent session tracking.

Example:

# Create worktree
git worktree add ../feature-branch feature/new-auth

# Enable Entire in worktree
cd ../feature-branch
entire enable

# Sessions tracked independently

Concurrent Sessions

Multiple sessions can run on same commit:

  • Each tracked separately
  • Independent rewind
  • Entire warns about concurrent work

Troubleshooting Guide

Common Issues

IssueDiagnosisSolution
"Not a git repository"Not in git repoNavigate to git repository
"Entire is disabled"Hooks not installedentire enable
"No rewind points found"No checkpoints createdMake a commit (manual) or wait for response (auto)
"shadow branch conflict"Corrupted shadow branchentire reset --force

SSH Authentication Errors

Error:

ssh: handshake failed: ssh: unable to authenticate

Fix:

ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
ssh-keyscan -t ecdsa github.com >> ~/.ssh/known_hosts

This is a known issue with go-git's SSH handling.

Debug Mode

Via environment variable:

ENTIRE_LOG_LEVEL=debug entire status

Via settings:

{
  "log_level": "debug"
}

Debug logs location: .entire/logs/

Stuck Sessions

Symptoms:

  • Checkpoints not saving
  • Status shows old session
  • Rewind points not appearing

Fix:

# Try doctor first
entire doctor

# If that fails, reset
entire reset --force

# Re-enable
entire enable --force

Accessibility

For screen readers:

export ACCESSIBLE=1
entire enable

Uses simpler text prompts instead of interactive TUI.

Integration with Claude Code

Entire is designed to work seamlessly with Claude Code:

During Development

Claude Code workflow:

  1. User works with Claude Code
  2. Entire automatically tracks session in background
  3. Checkpoints created based on strategy
  4. User can check status anytime: entire status

Typical commands Claude might suggest:

# Before starting work
entire status

# After significant changes
entire status  # Check checkpoint count

# If something goes wrong
entire rewind

# When switching tasks
entire resume <branch>

When to Suggest Rewind

Proactively suggest rewind when:

  • Agent made changes that broke tests
  • User expresses regret about changes
  • User says "undo", "go back", "revert"
  • Implementation went in wrong direction

Example:

User: "These changes broke the login flow"
Assistant: Let's rewind to before these changes.

$ entire rewind

[Shows checkpoint list - guide user to select pre-breaking checkpoint]

When to Suggest Explain

Suggest explain when:

  • User asks "how was this created?"
  • User questions agent's reasoning
  • User debugging mysterious changes
  • User onboarding to codebase

Example:

User: "I don't understand why the auth was implemented this way"
Assistant: Let me show you the session that created this.

$ entire explain src/auth/login.ts

[Shows session transcript and reasoning]

Common Scenarios

Scenario 1: Initial Setup

User: "Set up Entire for me"
Assistant: I'll help you install and enable Entire in this repository.

# First, check if Entire is installed
$ which entire

# If not installed
$ brew tap entireio/tap
$ brew install entireio/tap/entire

# Navigate to your repository
$ cd /path/to/your/repo

# Enable Entire (default: manual-commit strategy)
$ entire enable

# Verify it's working
$ entire status

Entire is now tracking your AI sessions! Work normally with Claude Code,
and checkpoints will be created when you commit.

Scenario 2: Undo Unwanted Changes

User: "Claude just broke my authentication system, I need to undo this"
Assistant: Let's rewind to before those changes.

$ entire rewind

[Interactive checkpoint list appears]
Available checkpoints:
1. a3b2c4d5e6f7 - 2026-02-11 14:23 - "Add login validation"
2. f9e8d7c6b5a4 - 2026-02-11 14:15 - "Initial auth setup"
3. 1a2b3c4d5e6f - 2026-02-11 14:00 - "Create user model"

Select checkpoint to rewind to: 2

[Code restored to checkpoint 2]

Your code has been restored to the state before the breaking changes.
You can now continue working from this checkpoint.

Scenario 3: Understanding Generated Code

User: "How was this payment processing code created?"
Assistant: Let me show you the session that generated this code.

$ entire explain src/payment/processor.ts

Session: 2026-02-11-abc123de-f456-7890-abcd-ef1234567890
Date: 2026-02-11 13:45 - 14:30

Prompts & Responses:
1. User: "Add Stripe payment processing"
   Claude: [Implemented payment processor with retry logic...]

2. User: "Add error handling for failed payments"
   Claude: [Added try-catch blocks and error logging...]

3. User: "Add webhook handling"
   Claude: [Created webhook endpoint and validation...]

Files Modified:
- src/payment/processor.ts (created)
- src/payment/webhooks.ts (created)
- src/api/routes.ts (modified)

This shows you the full context of how the payment system was built.

Scenario 4: Resume Previous Work

User: "I want to continue working on the feature/auth branch"
Assistant: Let me help you resume that work.

$ entire resume feature/auth

Checked out branch 'feature/auth'
Restored session: 2026-02-10-def456gh-i789-0123-jklm-no4567890123
Last checkpoint: b1a2c3d4e5f6 - "Add password reset flow"

To continue:
$ claude code continue

You can now pick up where you left off on the auth feature.

Scenario 5: Debugging Stuck Session

User: "Entire says I have a session but checkpoints aren't saving"
Assistant: Let's diagnose this with the doctor command.

$ entire doctor

Diagnosing Entire state...

Issues found:
✗ Orphaned session state detected
✗ Shadow branch missing for current HEAD
✓ Configuration valid
✓ Git hooks installed

Suggested fixes:
1. Clean orphaned session: entire clean
2. Reset shadow branch: entire reset --force

Run these fixes? [y/n]: y

Cleaning orphaned data...
Resetting shadow branch...

✓ Fixed! Run 'entire enable --force' to restart session tracking.

$ entire enable --force

Your Entire installation is now healthy and ready to track sessions.

Scenario 6: Switching Strategies

User: "I want Entire to automatically commit after each response"
Assistant: I'll switch you to the auto-commit strategy.

# First, disable current setup
$ entire disable

# Re-enable with auto-commit strategy
$ entire enable --strategy auto-commit

# Verify new strategy
$ entire status

Strategy: auto-commit
Checkpoints will now be created automatically after each agent response,
with code committed to your active branch.

Note: Be cautious using auto-commit on main/master branches.

Scenario 7: Exploring Session History

User: "Show me all the sessions where we worked on authentication"
Assistant: Let me search through your Entire session history.

$ entire explain --help  # Check available options

# List recent sessions
$ git log entire/checkpoints/v1 --oneline | grep -i auth

# Explain specific session
$ entire explain 2026-02-09-auth-session-id

This will show all sessions related to authentication work.
You can then use 'entire explain' on specific sessions to see details.

Best Practices

When to Proactively Suggest Entire

As Claude, suggest Entire when:

  1. Before risky changes: "I'm about to refactor the database layer. Let's checkpoint first." $ entire status # Verify session tracking
  2. After breaking changes: "The tests are failing after my changes. Let's rewind." $ entire rewind
  3. When user is confused: "You seem unsure about these changes. We can always rewind if needed." $ entire status # Show current checkpoint count
  4. During complex iterations: "We're on iteration 3 of this feature. Previous checkpoints are available if we need to backtrack."

Communication Patterns

Clear checkpoint messaging:

✓ "Checkpoint saved. You can rewind to this point anytime."
✓ "This is checkpoint 3 in this session. Previous states are preserved."
✓ "I've committed the changes. Entire created a checkpoint automatically."

✗ Don't say: "Changes saved" (ambiguous)
✗ Don't say: "Committed" (unclear if checkpoint was created)

Rewind guidance:

✓ "Let's rewind to before these changes using 'entire rewind'"
✓ "We have 5 checkpoints - which point would you like to restore?"
✓ "Rewind is non-destructive - we can always move forward again"

✗ Don't say: "Let's undo this" (unclear if using git or Entire)
✗ Don't say: "Revert to previous version" (ambiguous)

Integration with Development Workflow

Start of session:

entire status  # Check what's being tracked

During development:

  • Work naturally with Claude Code
  • Checkpoints happen automatically (based on strategy)
  • Check status occasionally: entire status

When things go wrong:

entire rewind  # Interactive restore

Switching branches:

entire resume <branch>  # Restore session context

End of day:

entire status  # See final checkpoint count
git push  # Pushes code + checkpoints (if configured)

Privacy & Security

What Entire captures:

  • Session transcripts (prompts & responses)
  • File paths and modifications
  • Timestamps and metadata
  • Agent configuration

What Entire doesn't capture:

  • Credentials or secrets
  • Files outside repository
  • User's system information

Logs location: .entire/logs/ (gitignored by default)

Session metadata: Stored on entire/checkpoints/v1 branch

Team Usage

Sharing checkpoints:

  • Configure strategy_options.push_sessions: true
  • Team members can see session history
  • Useful for:

- Understanding how code was built - Onboarding new developers - Code archaeology - Learning from AI sessions

Personal usage:

  • Keep push_sessions: false for private sessions
  • Use .entire/settings.local.json for personal preferences

Command Reference Quick Guide

CommandUse WhenOutput
entire statusCheck current sessionSession info, strategy, checkpoint count
entire enableFirst time setupInstalls hooks, creates config
entire rewindUndo changesInteractive checkpoint selection
entire resume <branch>Switch branches with contextRestores session, prints continue command
entire explainUnderstand code creationSession transcript and metadata
entire doctorFix issuesDiagnoses and suggests fixes
entire cleanRemove orphaned dataCleans up unused branches/metadata
entire resetNuclear optionDeletes shadow branch for current HEAD
entire disableStop trackingRemoves hooks, preserves data
entire versionCheck CLI versionVersion number

Error Messages & Solutions

"Not a git repository"

Cause: Running Entire outside a git repository Solution: cd into your git repository first

"Entire is disabled"

Cause: Hooks not installed Solution: entire enable

"No rewind points found"

Cause: No checkpoints created yet Solution:

  • manual-commit: Make a git commit
  • auto-commit: Wait for next agent response
  • Check strategy: entire status

"shadow branch conflict"

Cause: Corrupted shadow branch state Solution: entire reset --force

"Failed to fetch metadata: ssh: handshake failed"

Cause: go-git SSH bug Solution:

ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
ssh-keyscan -t ecdsa github.com >> ~/.ssh/known_hosts

"Session in unexpected state"

Cause: Interrupted operations or git conflicts Solution:

entire doctor  # Try automatic fix first
entire reset --force  # If doctor can't fix
entire enable --force  # Restart tracking

Advanced Usage

Custom Configuration

Project-wide settings (.entire/settings.json):

{
  "strategy": "manual-commit",
  "agent": "claude-code",
  "enabled": true,
  "strategy_options": {
    "push_sessions": true,
    "summarize": {
      "enabled": true
    }
  },
  "telemetry": false
}

Personal overrides (.entire/settings.local.json):

{
  "log_level": "debug",
  "strategy_options": {
    "push_sessions": false
  }
}

Multiple Agents

Enable both Claude Code and Gemini CLI:

# Enable Claude Code (default)
entire enable --agent claude-code

# Also enable Gemini
entire enable --agent gemini

# Both agents can be tracked simultaneously

Session Metadata Structure

Session ID: YYYY-MM-DD-<UUID> Checkpoint ID: 12-char hex string

Metadata location:

  • Active sessions: .git/entire-sessions/
  • Committed checkpoints: entire/checkpoints/v1 branch

Session files include:

  • transcript.jsonl - Full conversation
  • metadata.json - Session info
  • files.json - Modified files list

Git Worktree Isolation

Each worktree gets independent session tracking:

# Main worktree
cd /repo
entire enable
# Sessions: .git/entire-sessions/main/

# Feature worktree
git worktree add ../feature feature/new-ui
cd ../feature
entire enable
# Sessions: .git/entire-sessions/feature-worktree-hash/

Limitations & Known Issues

Known Limitations

  1. SSH Authentication - go-git v5 SSH bug requires manual known_hosts setup
  2. Large Repositories - Very large sessions may be slow to explain
  3. Concurrent Sessions - Warning shown, but both tracked independently
  4. Windows Support - Requires WSL (Windows Subsystem for Linux)

Gemini CLI Support

Currently in preview:

Auto-Summarization

Requirements:

  • Claude CLI must be installed
  • claude command in PATH
  • Authenticated with Claude

If summarization fails:

  • Non-blocking - commit still succeeds
  • Check .entire/logs/ for errors

Getting Help

Resources

Command Help

entire --help              # General help
entire <command> --help    # Command-specific help
entire status --help       # Example: status help

When Helping Users

Before suggesting Entire commands:

  1. Check if Entire is installed: which entire
  2. Check if enabled: entire status
  3. Verify git repository: Inside git repo?

Guide users step by step:

  1. Install (if needed)
  2. Enable (if not enabled)
  3. Explain what will happen
  4. Run the command
  5. Interpret the output

Be specific about outcomes:

  • What checkpoint will be restored
  • What files will change
  • Whether operation is reversible

Summary

Entire is a git workflow enhancement for AI-assisted development that:

Captures AI sessions as checkpoints ✅ Preserves full session history and reasoning ✅ Enables rewinding to any checkpoint ✅ Explains how code was created ✅ Resumes previous work contexts ✅ Diagnoses and fixes session issues

Key principles:

  • Non-invasive (separate metadata storage)
  • Reversible (rewind is non-destructive)
  • Team-friendly (shareable session history)
  • Privacy-conscious (configurable data sharing)

When in doubt:

  • Run entire status to see current state
  • Use entire doctor to diagnose issues
  • Rewind is always safe - you can rewind forward again

Skill Activation Note

This skill is activated when:

  • User mentions Entire, checkpoints, or rewinding
  • User wants to undo AI changes
  • User asks about session history
  • User encounters Entire errors
  • Setup/installation is needed

Always verify Entire is installed and enabled before suggesting commands.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.98%
按下载量换算50

Claude

29.55%
按下载量换算38

Cursor

16.67%
按下载量换算21

Gemini CLI

9.83%
按下载量换算12

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills