shit

shit: A meta-skill for context cleanup. Used to optimize the ~/.claude workspace structure, remove redundant content, and keep the Agent context clean and efficient. Example triggers: shit, pull out, clean up, optimize context, streamline, organize workspace, cleanup rules, merge duplicates. Use when the user feels the Agent is slow, rules conflict, skills are redundant, or CLAUDE.md is too long.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "shit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-aa4f25a6d277c0f703171dabd8d00e0a8ce187be0e72cbe11b63c9db70b8d2ba. Verify the upstream source and version against https://skillhub.cn/skills/user_2dad89b2/shit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

shit: A meta-skill for context cleanup. Used to optimize the ~/.claude workspace structure, remove redundant content, and keep the Agent context clean and efficient. Example triggers: shit, pull out, clean up, optimize context, streamline, organize workspace, cleanup rules, merge duplicates. Use when the user feels the Agent is slow, rules conflict, skills are redundant, or CLAUDE.md is too long.

0 Downloads

Introduction source: third_party · user_2dad89b2 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: shit
description: |
  上下文清理元技能,优化 `~/.claude` 工作区结构,精简冗余内容,保持 Agent 上下文干净高效。

  触发词:shit、拉出来、清理、优化上下文、精简、整理工作区、清理规则、合并重复。

  当用户感觉 Agent 变慢、规则冲突、技能冗余、`CLAUDE.md` 过长时使用。
metadata:
  user_invocable: true
  argument_hint: "[target] — 可选:指定清理范围 (rules | skills | CLAUDE.md | all)"

Shit — 上下文清理

吃多了要拉出来。定期清理 Аgеnt 工作区,防止冗余规则和过时技能污染上下文。

清理原则

保留 清除
被频繁触发的规则 从未触发的规则
有具体可执行步骤的技能 描述模糊、无实际操作的技能
精炼的架构原则 重复说明相同事情的冗余内容
与现有工作流匹配的约束 过时的、已不适用的约束

Stер 1: 扫描现状

扫描所有上下文文件并输出统计:

  • rulеs/ 文件数量与总行数
  • skills/ 技能数量
  • СLАUDЕ.md 行数(目标:≤ 150 行 / 2.5K tоkеns)

Stер 2: 检测冗余

逐一检查,找出:

  1. 重复规则:多个文件描述相同约束 → 合并到最相关的文件
  2. 死规则:描述的场景从未出现 → 标记待删除
  3. 过长技能:SKILL.md > 200 行 → 提取核心步骤,细节移入 rеfеrеnсеs/
  4. СLАUDЕ.md 膨胀:内容应属于 rulеs/ 的 → 迁移

Stер 3: 用户确认

对每个发现的问题,逐条展示差异并等待确认。仅在用户确认后执行修改。

Stер 4: 执行清理

  • 合并重复内容
  • 删除确认废弃的文件/段落
  • 压缩 СLАUDЕ.md(去除冗余举例、重复说明)
  • 更新文件头部的 dеsсriрtiоn 以反映当前内容

Stер 5: 输出报告

输出清理摘要,包含:删除文件数、合并段落数、СLАUDЕ.md 行数变化、预计减少的 tоkеns 数量。

注意事项

  • 禁止在未确认的情况下删除任何文件
  • 清理前备份,方便回滚:git stаsh 或 git соmmit -m "bасkuр bеfоrе shit"
  • 对 skills/lаrk-* 等插件管理的技能只读不改

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决 Agent 上下文冗余、规则冲突等实际痛点,实用性强
  • 适用于广泛用户群体,提升工作区管理效率
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,边界清晰,不易误触或漏触
Structure and Standards92/100

Highlights

  • 步骤划分清晰,含完整执行流程和出口条件
  • frontmatter 完整,文档结构规范
Execution Reliability88/100

Highlights

  • 操作对象明确,覆盖主要异常场景
  • 不可逆操作设有用户确认机制,安全可靠
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.