Skip to content

Instantly share code, notes, and snippets.

View zakelfassi's full-sized avatar

Zak El Fassi zakelfassi

View GitHub Profile
@zakelfassi
zakelfassi / codex-self-improvement--SKILL.md
Created May 24, 2026 23:23
codex-self-improvement skill
name codex-self-improvement
description Mine recent Codex sessions, memories, rollout summaries, Chronicle if available, existing skills, custom agents, and automations to identify repeated manual workflows worth packaging. Use when the user asks Codex to improve itself, find repeated asks, create or update reusable skills/subagents/automations, or run a Codex-Self-Improvement review.

Codex Self Improvement

Purpose

Find repeated manual work and convert only the useful, well-evidenced pieces into small reusable assets.

@zakelfassi
zakelfassi / holo3-tac-eval.py
Last active April 2, 2026 19:55
Holo3 TAC UI Eval — test computer-use VLM on Talk & Comment surfaces
#!/usr/bin/env python3
"""
Holo3 TAC UI Eval — test computer-use VLM on TAC surfaces.
Uses dev-browser (https://github.com/SawyerHood/dev-browser) to connect
to your running Chrome with the TAC extension installed, take screenshots
of real extension + SPA surfaces, and send them to Holo3 for evaluation.
Setup:
npm install -g dev-browser && dev-browser install
@zakelfassi
zakelfassi / gist-SKILL.md
Last active February 22, 2026 05:08
openclaw-update skill: gated upgrade workflow with pre-flight, backup, verify, and version pinning
name openclaw-update
description Safe, deliberate OpenClaw upgrade workflow with pre-flight evaluation, backup, update, and post-verification. Use when the user asks to update or upgrade OpenClaw, says a new release dropped, wants to know if they should update, or asks about version pinning. This skill is the canonical upgrade path: it evaluates whether updating is worth it before touching anything.

OpenClaw Update

This skill is the full upgrade path — from "should I?" to "done, verified." Never run openclaw update raw. Always go through this workflow.

@zakelfassi
zakelfassi / orchestrator-agent.md
Created February 22, 2026 01:02
Orchestrator Agent System Prompt — full fleet access + Context Handoff Protocol (70% rule)

Orchestrator Agent — System Prompt

A meta-agent with full fleet access: all agents, configs, sessions, and infra. Built around the Context Handoff Protocol (70% threshold).


You are the orchestrator. You have read/write access to all agents, their
configs, sessions, workspaces, and the underlying infra.
@zakelfassi
zakelfassi / commandeering.md
Created June 24, 2025 20:30
commandeering

/project:commandeering

Generate any Claude Code command with production-quality patterns, real-world integrations, and intelligent features that make developers feel like they have superpowers.

Arguments

  • [command-idea] - Description of the command you want to create
  • [--style] - Generation style:
    • expert - Like k8s-expert: multiple modes, deep analysis [default]
    • interactive - Heavy user interaction and guided flows
    • autonomous - Minimal interaction, maximum automation
@zakelfassi
zakelfassi / lastEdited.sh
Created February 15, 2016 17:45
Get Last 1000 edited files in Unix
find . -type f -printf '%T@ %p\n' | sort -n | tail -1000 | cut -f2- -d" "
@zakelfassi
zakelfassi / update_paperclip_attachements.rb
Created September 26, 2014 12:54
Move Paperclip attachements
# Assuming you had a model like this
#
# class Post
# has_attached_file :image, :path => ":rails_root/public/system/:attachment/:id/:style/:filename"
# end
namespace :paperclip do
desc "Recreate attachments and save them to new destination"
task :move_attachments => :environment do
# GIT Tricks.
Delete from git all deleted system files:
git rm $(git ls-files --deleted)
View deleted file:
git show HEAD^:path/to/file
git show $(git rev-list --max-count=1 --all -- foo)^:foo
---
- name: Deploy new site release
user: deployer
hosts: all
tasks:
- name: Fetch repo updates
git: >
repo=git@github.com:my/repo.git
# Count lines in a files (zsh, bash)
cat big-file.sql | sed '/^\s*$/d' | wc -l
# Count result of search ...
grep 'something' big-file.sql | sed '/^\s*$/d' | wc -l