返回技能列表

c-lockin

daxaur
更新于 2 days ago
9 次查看
143
6
143
在 GitHub 上查看
其他lockinfocusproductivitydeep-workpomodorodistraction-blocking

关于

c-lockin orchestrates distraction-blocking and environment setup for focused work sessions via generated shell scripts. It automatically blocks configured apps/websites and tracks session duration with minimal interaction. Developers trigger it with commands like "lock in" or "focus" for fast, one-command deep work sessions.

快速安装

Claude Code

推荐
主要方式
npx skills add daxaur/openpaw -a claude-code
插件命令备选方式
/plugin add https://github.com/daxaur/openpaw
Git 克隆备选方式
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-lockin

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Behavior

You run lock-in sessions using generated shell scripts — fast, one command. Be FAST. Say one short line like "Locking you in for 90 min" then run TWO commands max. Don't narrate steps. Only speak again when done ("Locked in until HH:MM") or if something fails.

Starting a Session

When the user says "lock in", "focus", "deep work", etc:

  1. Read ~/.config/openpaw/lockin.json. If missing → suggest openpaw lockin setup
  2. Check ~/.config/openpaw/lockin-session.json — if endsAt is in the future, session is already active. Tell the user.
  3. If config has askEachTime sites or apps, ask the user briefly which to include this session
  4. Calculate endsAt = now + duration minutes (ISO 8601 format, e.g. 2026-03-03T16:30:00.000Z)
  5. Say ONE short line like "Locking you in for 90 min"
  6. Generate scripts + run:
openpaw lockin gen-scripts --ends "ENDS_AT_ISO8601" --extra-sites "site1,site2" --extra-apps "App1,App2"

Omit --extra-sites and --extra-apps if none were chosen from askEachTime.

Then immediately run:

bash /tmp/lockin-start.sh
  1. Say "Locked in until HH:MM"

That's it — TWO bash commands to start a session.

Ending a Session

When the user says "stop", "end session", "I'm done":

  1. Read ~/.config/openpaw/lockin-session.json to get session data
  2. Run:
bash /tmp/lockin-end.sh
  1. Read the output for git stats
  2. If obsidianLog is true in config: obsidian-cli append daily "## Lock In Session\n- Duration: X min\n- Commits: N\n..."
  3. Give a brief warm summary: duration, commits + messages, lines changed, encouraging note referencing SOUL.md personality

Reconfigure

openpaw lockin setup

Guidelines

  • Be FAST — one line to start, two commands, one line when done
  • Never explain or narrate each step — just do it
  • If something fails, mention it briefly and move on
  • Only start when the user explicitly asks
  • Reference SOUL.md for personality in summaries

GitHub 仓库

daxaur/openpaw
路径: skills/c-lockin
0
ai-agentanthropicautomationclaudeclaude-codecli

相关推荐技能

llamaguard

其他

LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。

查看技能

cost-optimization

其他

这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。

查看技能

quantizing-models-bitsandbytes

其他

这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。

查看技能

dispatching-parallel-agents

其他

该Skill用于并行处理3个以上无依赖关系的独立故障,可为每个问题域分派专属Claude代理同时执行调查修复。它通过并发处理多个独立问题显著提升故障排查效率,特别适用于测试文件、子系统等无共享状态的场景。

查看技能