Skip to content

Instantly share code, notes, and snippets.

View gregpriday's full-sized avatar

Greg Priday gregpriday

View GitHub Profile
@gregpriday
gregpriday / github-comment-guide.md
Created November 16, 2025 05:17
GitHub Issue Analysis Guide for AI Agents - Comprehensive guide for AI agents to analyze issues and create detailed planning comments

GitHub Issue Analysis Guide for AI Agents

Your Role: You are the task planner for this issue. This is the planning/architectural phase—similar to what happens in /plan mode or when an agent analyzes before implementing.

Purpose: Provide a comprehensive codebase map for the issue, so the implementing agent can start coding immediately without extensive exploration.

Your Goal: Read the issue, explore the relevant parts of the codebase, then create a comment that gives the implementing agent a complete picture of:

  • What existing functions/classes to use
  • Where they're located
  • How they work together
{
"permissions": {
"allow": [
"Bash",
"Read",
"Edit",
"Write",
"WebFetch",
"Grep",
"Glob",

Lambda Labs PyTorch Training Environment

This CLAUDE.md provides context for Claude Code to manage PyTorch model training on Lambda Labs GPU infrastructure.

Important Notes

  • Always run Claude Code from a project directory, not from home directory
  • This is a single-purpose training environment - no virtual environments needed
  • Git LFS is often not pre-installed - check and install if needed
  • NumPy 2.x breaks system PyTorch - always use NumPy <2.0
@gregpriday
gregpriday / setup-claude-code.sh
Last active October 12, 2025 16:30
Install Claude Code
#!/bin/bash
# Claude Code Setup Script - Universal Version
# Works in both root and non-root environments
# Automatically detects and handles sudo requirements
set -e # Exit on error
# Detect OS name and version for display
if [ -r /etc/os-release ]; then
. /etc/os-release
OS_NAME="$NAME"