Skip to content

Instantly share code, notes, and snippets.

View Snaver's full-sized avatar
🏠
Working from home

Richard Snaver

🏠
Working from home
View GitHub Profile
@Snaver
Snaver / gemini-cli-assistant.md
Last active September 4, 2025 14:23
gemini-cli-assistant.md
name description tools model color
gemini-cli-assistant
Use this agent when you need to leverage Google Gemini's capabilities through its CLI tool, particularly for tasks requiring large context windows, advanced code searching across repositories, multimodal analysis (PDFs, images), or when you need to analyze extensive codebases that exceed Claude's context limits. This agent should be invoked when dealing with multi-file analysis, cross-repository code searches, or when you need Gemini's specific strengths to complement Claude's analysis. Unless instructed Gemini will operate in a 'read-only' capacity, not making direct file edits or changes itself.
Bash
sonnet
blue

You are an expert Google Gemini CLI integration specialist, skilled at leveraging Gemini's advanced capabilities to assist with complex code analysis and search tasks. You have deep knowledge of the Gemini CLI tool and understand how to effectively use it as a complementary assistant to Claude.

@Snaver
Snaver / codex-cli-assistant.md
Last active September 4, 2025 14:24
codex-cli-assistant.md
name description tools model color
codex-cli-assistant
Use this agent when you need to leverage OpenAI Codex's GPT-5 capabilities through its CLI tool, particularly for AI-powered code generation, refactoring, explanation, deep research and interactive coding assistance. This agent should be invoked when dealing with complex code transformations, automated code writing, or when you need Codex's natural language to code capabilities to complement Claude's analysis. Unless instructed Codex will operate in a 'read-only' capacity, not making direct file edits or changes itself.
Bash
sonnet
blue

You are an expert OpenAI Codex CLI integration specialist, skilled at leveraging Codex's advanced AI-powered code generation and transformation capabilities. You have deep knowledge of the Codex CLI tool and understand how to effectively use it as a complementary assistant to Claude for development tasks. You always operate at model_reasoning_effort=high.

@Snaver
Snaver / _README.md
Last active August 6, 2025 21:59
Claude Code - Custom Clash Command (Subagent Workflow). Based on thoughts by https://x.com/PacoMuro_/status/1940155246963003807

Claude Subagent Workflow Command ✨

A Claude Subagent Workflow command to help with complex features via workflows

Summary of the Command

Location: ~/.claude/commands/subagent-workflow.md

Usage: /user:subagent-workflow <your complex task>

@Snaver
Snaver / Filament -PHP-Docs.md
Created June 23, 2025 12:46
Filament PHP · Docs

Introduction

What is Filament?

URL: https://filamentphp.com/docs/4.x/introduction/overview

Overview: Top level overview of what Filament is, its Server-Driven UI architecture, core packages, and ecosystem.

Sub Headings: Introduction, What is Server-Driven UI?, Packages, Plugins, Customizing the appearance, Testing, Alternatives to Filament

@Snaver
Snaver / Flux-UI-Docs.md
Created June 23, 2025 12:14
Flux · Livewire UI kit Docs.

Guides

Installation

URL: https://fluxui.dev/docs/installation

Overview: Covers how to install Flux (via Composer), set up Tailwind CSS and the Inter font, activate Flux Pro, and publish assets or components. Also includes instructions for integration with Forge, GitHub Actions, CI environments, and nginx setup. ([fluxui.dev][1])

$TenantID = 'CUSTOMERTENANT.ONMICROSOFT.COM'
$ApplicationId = "YOURPPLICTIONID"
$ApplicationSecret = "YOURAPPLICATIONSECRET"
$body = @{
'resource' = 'https://graph.microsoft.com'
'client_id' = $ApplicationId
'client_secret' = $ApplicationSecret
'grant_type' = "client_credentials"
'scope' = "openid"
@Snaver
Snaver / import-news.ps1
Last active February 20, 2023 15:49
SharePoint Online News Import PowerShell Script
function Create-Slug {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$InputString
)
# Use a regular expression to remove any characters that are not letters, numbers, or dashes
$slug = $InputString -replace '[^\w-]', ''
@Snaver
Snaver / Detect.ps1
Last active February 20, 2023 15:50
Google Chrome Uninstaller - PowerShell (Local install)
# Based on https://sccmentor.com/2021/01/11/using-proactive-remediations-to-remove-google-chrome/
# Thank you.
try
{
$chromeInstalled = Test-Path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe'
if ($chromeInstalled -eq 'True') {
Write-Host "Google Chrome is installed locally"
@Snaver
Snaver / App\Geocoder.php
Created May 19, 2020 20:53
geocoder-php / GeocoderLaravel Testing and Mocking Setup
<?php
namespace App;
use Geocoder\Laravel\ProviderAndDumperAggregator as G;
class Geocoder
{
protected $geocoder;
Route::get('/route-list', function () {
Artisan::call('route:list');
return '<pre>'.Artisan::output();
});