Skip to content

Instantly share code, notes, and snippets.

View barapa's full-sized avatar

Benjamin Rapaport barapa

View GitHub Profile
@barapa
barapa / trump-iran-address-2026-04-01.html
Last active April 1, 2026 20:55
President Trump Addresses the Nation on the Iran War — April 1, 2026, 9:00 PM ET
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>President Trump Addresses the Nation on the Iran War — April 1, 2026</title>
</head>
<body>
<h1>President Trump Addresses the Nation on the Iran War</h1>
<h2>Event Details</h2>
@barapa
barapa / SKILL.md
Last active December 22, 2025 17:22
Agent Skill: Use Gemini CLI as a sub-agent from Claude Code (or other Agent Skills-compatible tools)
name gemini-subagent
description Invoke Gemini CLI as a sub-agent for tasks benefiting from Gemini's 1M token context, second opinion analysis, or parallel processing. Use when analyzing large codebases, getting alternative perspectives, or offloading context-heavy tasks.

Gemini Sub-Agent

Use Gemini CLI as a sub-agent when you need:

  • Large context analysis (Gemini has 1M token window)
  • Second opinion on architecture, code review, or decisions
openapi: 3.0.1
info:
title: Congress.gov API
description: |
Congress.gov shares its application programming interface (API) with the public to ingest the Congressional data. <a href="sign-up/" target="_blank">Sign up for an API key</a> from api.data.gov that you can use to access web services provided by Congress.gov. To learn more, view our <a href="https://github.com/LibraryOfCongress/api.congress.gov/" target="_blank">GitHub repository</a>.
version: 3.0.0
servers:
- url: /v3
tags:
- name: bill
docker-compose exec legaide_api python -m app.clis.ftp.test_mirascope_gemini
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/code/app/clis/ftp/test_mirascope_gemini.py", line 2, in <module>
from mirascope.core import gemini, prompt_template
File "/usr/local/lib/python3.12/site-packages/mirascope/__init__.py", line 7, in <module>
from . import core as core
File "/usr/local/lib/python3.12/site-packages/mirascope/core/__init__.py", line 28, in <module>
from . import gemini as gemini
# set up flags for Numpy C extentions compiling
export CFLAGS="-arch i386 -arch x86_64"
export FFLAGS="-m32 -m64"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
export CC=gcc-4.2
export CXX=g++ -arch i386 -arch x86_64
pip install numpy
# success!