KS
Killer-Skills

updatekfg — how to use updatekfg how to use updatekfg, what is updatekfg, updatekfg alternative, updatekfg vs KFG CCv3, updatekfg install guide, KFG CCv2 installer setup, synchronizing KFG changes, backup before CCv3 migration

v1.0.0
GitHub

About this Skill

Ideal for KFG CCv2 Developers needing seamless environment synchronization across devices. updatekfg is a KFG CCv2 installer skill that backs up environments before CCv3 migration, ensuring seamless synchronization of KFG changes.

Features

Synchronizes KFG changes across all devices via the /updatekfg command
Copies installer files from KFG/.claude/ to ~/.claude/
Supports global instructions via CLAUDE.md files
Manages permissions, hooks, and status lines through settings.json
Automates rules using rules/*.md files
Validates changes with hooks/* scripts

# Core Topics

kmylpenter kmylpenter
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
30
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add kmylpenter/KFG-CCv2-Installer-Stable/updatekfg

Agent Capability Analysis

The updatekfg MCP Server by kmylpenter is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use updatekfg, what is updatekfg, updatekfg alternative.

Ideal Agent Persona

Ideal for KFG CCv2 Developers needing seamless environment synchronization across devices.

Core Value

Empowers agents to synchronize KFG environment changes, ensuring consistency across all devices by updating settings.json, rules/*.md, and hooks/*, thereby streamlining development and validation processes.

Capabilities Granted for updatekfg MCP Server

Synchronizing KFG CCv2 installations
Updating global instructions in CLAUDE.md
Validating environment settings across devices

! Prerequisites & Limits

  • Requires KFG CCv2 installation
  • Needs access to ~/.claude/ directory
Project
SKILL.md
5.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

/updatekfg - Aktualizacja środowiska KFG

Skill do synchronizacji zmian KFG na wszystkie urządzenia.

Architektura KFG (PRZECZYTAJ!)

KFG/.claude/           →  ~/.claude/ (instalatory kopiują)
├── CLAUDE.md          →  CLAUDE.md (globalne instrukcje)
├── settings.json      →  settings.json (permissions + hooks + statusLine)
├── rules/*.md         →  rules/*.md (reguły automatyczne)
├── hooks/*            →  hooks/* (skrypty walidacji)
├── welcome.txt        →  welcome.txt
├── statusline-wrapper.ps1/.sh  →  statusline wrapper
├── analyze-history.ps1         →  analiza historii (Windows)
└── export-device-stats.ps1     →  eksport stats (Windows)

KFG/platform/
├── android/           →  Android-specific overrides (merge przy instalacji)
└── windows/           →  Windows-specific overrides

KFG/setup/config/
├── termux/.bashrc     →  ~/.bashrc (Android - append)
├── termux/.tmux.conf  →  ~/.tmux.conf (Android)
├── ccstatusline/      →  ~/.config/ccstatusline/ (statusline config)
└── .templates/        →  ~/.templates/ (szablony walidacji)

KFG/desktop/
├── install.ps1        →  Jednorazowy instalator Windows (generuje inline)
├── sync-env.ps1       →  Auto-sync przy każdym `cc` (kopiuje z KFG)
└── config/            →  Windows-specific configs

Mechanizmy synchronizacji

PlatformaInstalacjaCodzienna sync
Windowsdesktop/install.ps1Junction (jak symlink) LUB sync-env.ps1
Androidinstall.sh (symlink)Automatyczny (symlink)

WAŻNE:

  • Android używa SYMLINK ~/.claude/ → KFG/.claude/ - zmiany w KFG są natychmiast widoczne
  • Windows: install.ps1 tworzy JUNCTION ~/.claude/ → KFG/.claude/ (jak symlink)
    • Edycja ~/.claude/* = edycja KFG/.claude/* (ten sam plik!)
    • Git widzi zmiany w KFG/.claude/ automatycznie
    • Jeśli junction nie działa: sync-env.ps1 kopiuje przy cc

UWAGA dla Claude: Edytuj ~/.claude/CLAUDE.md LUB KFG/.claude/CLAUDE.md - to ten sam plik (junction)!

Checklist: Co zaktualizować

Przed commitem sprawdź które pliki dotyczą zmiany:

1. Instrukcje Claude (CLAUDE.md, rules/)

[ ] KFG/.claude/CLAUDE.md - główne instrukcje
[ ] KFG/.claude/rules/*.md - reguły automatyczne

Sync: Android=natychmiast, Windows=przy cc

2. Settings (permissions, hooks, statusLine)

[ ] KFG/.claude/settings.json - base settings
[ ] KFG/platform/android/settings-override.json - Android override
[ ] KFG/platform/windows/settings-override.json - Windows override (jeśli istnieje)

Sync: Android=natychmiast, Windows=sync-env kopiuje tylko jeśli nie istnieje lub -Force

3. Hooks (walidacja, pre-compact)

[ ] KFG/.claude/hooks/*.ps1 - Windows hooks
[ ] KFG/.claude/hooks/*.sh - Android hooks

Sync: Android=natychmiast, Windows=sync-env

4. StatusLine scripts

[ ] KFG/.claude/statusline-wrapper.ps1 - Windows wrapper
[ ] KFG/.claude/statusline-wrapper.sh - Android wrapper
[ ] KFG/.claude/analyze-history.ps1 - analiza historii (Windows only)
[ ] KFG/.claude/export-device-stats.ps1 - eksport stats (Windows only)
[ ] KFG/setup/config/ccstatusline/settings.json - ccstatusline config

Sync: Windows=sync-env, Android=symlink (ale .sh tylko!)

5. Bashrc / Shell functions

[ ] KFG/setup/config/termux/.bashrc - funkcje bash (p, np, cc, gs...)
[ ] KFG/setup/config/bashrc - alternative location

Sync: Android=wymaga source ~/.bashrc lub reinstall

6. Templates

[ ] KFG/setup/config/.templates/ - szablony walidacji
[ ] KFG/.templates/ - alternative location

Sync: Android=install.sh kopiuje, Windows=install.ps1 generuje inline

7. Instalatory (jeśli zmiana wymaga)

[ ] KFG/install.sh - Android/Linux instalator
[ ] KFG/desktop/install.ps1 - Windows instalator
[ ] KFG/desktop/sync-env.ps1 - Windows daily sync

Workflow aktualizacji

Mała zmiana (reguły, instrukcje)

bash
1# 1. Edytuj pliki w KFG/.claude/ 2# 2. Commit + push 3git add -A && git commit -m "update: [co]" && git push 4 5# Android: automatycznie (symlink) 6# Windows: przy następnym `cc` (sync-env.ps1)

Duża zmiana (nowy feature, settings)

bash
1# 1. Edytuj pliki źródłowe w KFG/ 2# 2. Sprawdź czy sync-env.ps1 obsługuje nowe pliki 3# 3. Commit + push 4# 4. Na innych urządzeniach: git pull (Android) lub cc (Windows)

Zmiana wymagająca reinstalacji

bash
1# Jeśli zmieniłeś: 2# - install.sh / install.ps1 3# - strukturę katalogów 4# - nowe pliki których sync-env nie kopiuje 5 6# Android: ./install.sh --force 7# Windows: .\desktop\install.ps1 (lub cc z -Force sync)

Przykłady

Dodanie nowej reguły

1. Utwórz: KFG/.claude/rules/nowa-regula.md
2. git add && commit && push
3. Android: automatycznie działa (symlink)
4. Windows: przy następnym `cc`

Zmiana statusline

1. Edytuj: KFG/.claude/statusline-wrapper.ps1 (Windows)
2. Edytuj: KFG/.claude/statusline-wrapper.sh (Android) - jeśli dotyczy
3. sync-env.ps1 już kopiuje te pliki
4. git add && commit && push

Nowy skrypt do sync

1. Utwórz skrypt w KFG/.claude/
2. Dodaj do sync-env.ps1 $statuslineScripts array (jeśli .ps1)
3. Dla Android: utwórz .sh wersję (symlink = auto)
4. git add && commit && push

Weryfikacja

Po aktualizacji sprawdź:

powershell
1# Windows - sprawdź czy pliki są aktualne 2ls ~/.claude/*.ps1 3cat ~/.claude/CLAUDE.md | head -20 4 5# Porównaj z KFG 6diff ~/.claude/CLAUDE.md $KFG/.claude/CLAUDE.md
bash
1# Android - symlink powinien działać 2ls -la ~/.claude/ # powinno pokazać -> KFG/.claude/ 3cat ~/.claude/CLAUDE.md | head -20

TODO (brakujące)

  • Android: analyze-history.sh (bash wersja)
  • Android: export-device-stats.sh (bash wersja)
  • Cross-device stats agregacja na Androidzie

Related Skills

Looking for an alternative to updatekfg or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication