Agent Skill
2/7/2026

upgrades

Track PAI upgrade opportunities. USE WHEN upgrades, improvement tracking. SkillSearch('upgrades') for docs.

R
robdtaylor
0GitHub Stars
1Views
npx skills add robdtaylor/personal-ai-infrastructure

SKILL.md

Nameupgrades
DescriptionTrack PAI upgrade opportunities. USE WHEN upgrades, improvement tracking. SkillSearch('upgrades') for docs.

Personal AI Infrastructure (PAI)

A skills-based context management system for Claude Code. PAI extends Claude Code with domain-specific knowledge, custom workflows, and automated session management - focused on automotive manufacturing operations.

What is PAI?

PAI is a personal AI infrastructure layer that sits on top of Claude Code, providing:

  • Skills System - Modular context packages that load relevant knowledge on-demand
  • Hook System - Event-driven automation for session lifecycle management
  • Memory System - Session history, learnings, and signal capture
  • Custom Commands - Slash commands for common workflows

This repository contains 38 automotive manufacturing skills covering IATF 16949 quality management, CNC operations, damper engineering, business operations, and plant management.

Prerequisites

  • Claude Code CLI installed and authenticated
  • Bun runtime (for hooks and tools)
  • macOS or Linux (Windows via WSL)

Installation

1. Clone the repository

git clone https://github.com/robdtaylor/personal-ai-infrastructure.git ~/.claude

Note: If you already have a ~/.claude directory, back it up first:

mv ~/.claude ~/.claude-backup

2. Copy and configure settings

cd ~/.claude
cp settings.json.template settings.json

Edit settings.json to customize:

  • Environment variables
  • Hook configurations
  • Permission settings

3. Install dependencies

# Install Bun if not already installed
curl -fsSL https://bun.sh/install | bash

# Install hook dependencies
cd ~/.claude/hooks && bun install

4. Verify installation

claude

You should see the PAI context load at session start.

Directory Structure

~/.claude/
├── skills/           # Skill packages (context modules)
│   ├── Pfmea/        # Process FMEA generation
│   ├── Spc/          # Statistical Process Control
│   ├── Cncsetup/     # CNC setup sheets
│   └── ...           # 38 automotive manufacturing skills
├── hooks/            # Event-driven automation
├── commands/         # Custom slash commands
├── bin/              # CLI tools and utilities
├── MEMORY/           # Session history and learnings
└── settings.json     # Claude Code configuration

Skills Included (38)

IATF 16949 Quality Management

SkillDescription
PfmeaAIAG-VDA compliant Process FMEAs with S/O/D ratings and RPN calculations
SpcSPC charting, process capability (Cpk/Ppk), control chart interpretation
MsaGage R&R studies per AIAG MSA manual
ControlplanAIAG-format Control Plans linked to PFMEAs
Eightd8D problem solving with containment and root cause analysis
InternalauditIATF 16949 internal audit programme support
A3criticalthinkingToyota-style structured problem solving
ApqpppapAPQP phase gates and PPAP 18-element documentation

Manufacturing Operations

SkillDescription
CncsetupStandardized CNC setup sheets (DMG MORI, CITIZEN, MITSUBISHI EDM, Haas)
CuttingparamsFeeds, speeds, and depths of cut for common materials
PlantcapabilityMachine shop capability checking and machine selection
MaintenancepmPreventive maintenance schedules for shop equipment
ToolcribTool inventory management with reorder points
AssemblyoperationsLVA and FML assembly guidance (kitting, torque, poka-yoke)
TribalknowledgeMachinist expertise capture and preservation
QuoteestimatorRough cycle time and cost estimation
SkillsmatrixOperator training and competency tracking

Damper Engineering

SkillDescription
DamperEngineeringHydraulic damper design - DSSV valves, seals, materials
DamperassemblyDept 71 DSSV damper assembly operations
StructuralFEAOpen source FEA structural analysis (CalculiX)

Business Operations

SkillDescription
CommercialsalesRFQ processing, contract review, customer management
CostengineeringManufacturing cost analysis, make vs buy, value engineering
SupplychainStrategic purchasing, supplier development, materials management
ShippinglogisticsUK/US/Canadian shipping, customs, tariffs, HS codes
SapeccSAP ECC operations (MM, PP, SD, QM, PM, FICO)
PowerplatformPower Automate flow generation from natural language
MsofficeWord/PowerPoint document creation

Management & Strategy

SkillDescription
HoshinkanriStrategic policy deployment (X-Matrix, catchball, bowling charts)
AutomotivegmPlant GM / Executive VP operations expertise
DirectorofoperationsMulti-plant operations leadership perspective
AutomotivemanufacturingManufacturing SOPs and work instructions (IATF 16949/ISO 9001)
Automotiveproductplanning5-10 year product planning for specialist vehicle manufacturers
BusinessstrategyFinancial analysis, P&L, valuations, competitive analysis
HealthsafetyUK H&S management (risk assessments, COSHH, LOTO)
UkhradviserUK employment law, ACAS procedures, HR guidance

General Utility

SkillDescription
AlgorithmUniversal 7-phase execution pattern for structured work
CouncilMulti-perspective deliberation for complex decisions
ManufacturingdemoDemo manufacturing knowledge base

Creating Custom Skills

Skills are modular context packages. Create a new skill:

mkdir -p ~/.claude/skills/MySkill

Create SKILL.md:

---
name: MySkill
description: Brief description. USE WHEN user says 'keyword1', 'keyword2'.
---

# MySkill

## Overview
What this skill does...

## Workflows
- WorkflowName: Description

## Reference
Key information the AI should know...

Regenerate the skill index:

bun run ~/.claude/tools/GenerateSkillIndex.ts

Hooks

PAI uses Claude Code's hook system for automation:

HookPurpose
SessionStartLoad core context, initialize session
PreToolUseSecurity validation for Bash commands
PostToolUseCapture signals and checkpoints
StopCapture learnings and session summary

Configure hooks in settings.json.

Custom Commands

Slash commands are defined in ~/.claude/commands/. Example:

# /mycommand

Description of what this command does.

## Instructions

Steps for the AI to follow...

Configuration

Environment Variables

Set in settings.json under env:

{
  "env": {
    "PAI_DIR": "$HOME/.claude",
    "TIME_ZONE": "Europe/London"
  }
}

Troubleshooting

Hooks not running

  1. Check Bun is installed: bun --version
  2. Verify hook paths in settings.json
  3. Check hook file permissions: chmod +x ~/.claude/hooks/*.ts

Skills not loading

  1. Regenerate skill index: bun run ~/.claude/tools/GenerateSkillIndex.ts
  2. Check skill has valid YAML frontmatter in SKILL.md

Contributing

  1. Fork this repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT License - See LICENSE file for details.

Acknowledgments

Built for Claude Code by Anthropic.

Skills Info
Original Name:upgradesAuthor:robdtaylor