Agent Skill
2/7/2026

local-init

This skill should be used when the user wants to initialize a new local private repository in the current directory. This sets up the .local directory for versioning private AI configuration files separately from the main repository.

A
amhuppert
1GitHub Stars
1Views
npx skills add amhuppert/my-ai-resources

SKILL.md

Namelocal-init
DescriptionThis skill should be used when the user wants to initialize a new local private repository in the current directory. This sets up the .local directory for versioning private AI configuration files separately from the main repository.

My AI Resources

My personal AI workflow, config, prompts, etc. for Claude Code.

File Structure

  • agent-docs/ - Documentation intended for consumption by AI agents (installed to ~/.claude/agent-docs/)
  • claude/ - Claude Code configuration files, plugin definition, and user/project CLAUDE.md templates
  • .kiro/ - Kiro SDD steering files for project context
  • memory-bank/ - Session tracking (focus.md) for AI-assisted development
  • prompts/ - Saved LLM prompts and prompt templates
  • scripts/ - CLI utility scripts (lgit, code-tree, read-file, push-main)
  • typescript/ - TypeScript tooling for installation and settings management
  • .claude/ - Claude Code project-level configuration for this repository

Installation

This repository provides installation at two different scopes via the ai install command:

User-level Installation

Installs user-wide configurations that apply across all projects:

What gets installed:

  • agent-docs/~/.claude/agent-docs/ - AI agent documentation
  • scripts/lgit~/.local/bin/lgit - Dual-repo git wrapper script (executable)
  • scripts/code-tree~/.local/bin/code-tree - Directory visualizer with depth control (executable)
  • scripts/read-file~/.local/bin/read-file - XML-formatted file reader for LLM context (executable)
  • scripts/push-main~/.local/bin/push-main - Branch deployment utility (executable)
  • claude/settings.json → Claude Code user settings (via TypeScript installer with deep merge)
  • MCP server registration for Claude Code:
    • context7 (third-party library documentation)
  • ai-resources plugin - Installed via Claude Code plugin system from local marketplace

Requirements:

  • bun runtime (for settings installation)
  • claude CLI (for MCP server registration and plugin installation)
  • ffplay (optional, for notification sounds in projects)

Project-level Installation

Installs project-specific configurations in the current directory:

What gets installed:

  • claude/CLAUDE-project.mdCLAUDE.md - Project-level Claude Code instructions (merged with existing)
  • Notification hook - If .claude/notification.mp3 exists, installs hook to play sound on tool completions

Requirements:

  • bun runtime (for hook installation)
  • ffplay (optional, for notification sounds)

Usage

# Install user-level configurations (run once per user)
ai install --scope user

# Install project-level configurations (run in each project directory)
ai install --scope project
# or simply (project is the default scope):
ai install
Skills Info
Original Name:local-initAuthor:amhuppert