Sma1lboy

Claude Mods — Development skill for Claude Code

Development community

Mods for Claude Code: plugins built on function hooks.

How to install Claude Mods

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Sma1lboy/claude-mods and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Mods does

Mods for Claude Code: plugins built on function hooks.

Alternatives in Development

  • Claude Config — Built-in /config command to manage settings interactively 81.1k ★
  • Contributing To Career-Ops — Thanks for your interest in contributing 32.5k ★
  • OpenMythos — A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the availabl 14.8k ★

README

claude-mods

Mods for Claude Code: plugins built on function hooks, TypeScript running inside Claude Code.

Install

Paste this into Claude Code:

Install claude-mods (https://github.com/Sma1lboy/claude-mods) for me:
1. Add a global alias so every `claude` starts with function hooks on: in my shell's startup file (~/.zshrc for zsh, ~/.bashrc for bash, ~/.config/fish/config.fish for fish), add
   alias claude='CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude'
   If a `claude` alias is already there, add CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 to it instead of adding a second one. If it already sets the variable, leave the file alone.
2. Run:
   claude plugin marketplace add sma1lboy/claude-mods
   claude plugin install usageline@claude-mods
3. Tell me which file you changed, and to open a new terminal and start claude again.

Or by hand, in a terminal, then restart Claude Code:

node -e 'const fs=require("fs"),f=require("os").homedir()+"/.claude/settings.json";const s=fs.existsSync(f)?JSON.parse(fs.readFileSync(f,"utf8")):{};s.env={...s.env,CLAUDE_CODE_ENABLE_FUNCTION_HOOKS:"1"};fs.writeFileSync(f,JSON.stringify(s,null,2)+"\n")'
claude plugin marketplace add sma1lboy/claude-mods
claude plugin install usageline@claude-mods

The first line sets `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1` in `~/.claude/settings.json`; mods are early access and load only with it on. To update later:

claude plugin marketplace update claude-mods && claude plugin update usageline@claude-mods

usageline

A status line drawn under the prompt by a mod, configured in [ccstatusline](https://github.com/sirmalloc/ccstatusline)'s own settings format, with its figures read from Claude Code instead of parsed out of the transcript.

mod | 𖠰 main | ⎇ main | Ctx: 181.1k | Out: 129.0 t/s | (+22,-9) | Cost: $0.51 | Cache: 🟢 4m | Cache Hit: 90.7% | Miss: idle 5m20s > 5m ttl, +181k rewritten

Settings

`~/.config/usageline/settings.json` takes the same JSON as `~/.conf