Skip to content

Instantly share code, notes, and snippets.

View stephendolan's full-sized avatar

Stephen Dolan stephendolan

View GitHub Profile
#!/usr/bin/env python3
"""
Tuple Trigger: Transcribe Call
Fires on call-ended. Reads WAV files and Events.txt from the recording
directory, transcribes audio with whisper-cpp, and writes Summary.md.
Requires:
1. brew install whisper-cpp
2. Download a GGML model: curl -L -o ~/.local/share/whisper-cpp/models/ggml-large-v3.bin \
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3.bin
name description mode model tools
skeptic
Adversarial reviewer for investigative conclusions. Spawned after research/analysis to challenge assumptions, identify gaps, and stress-test reasoning before conclusions reach the user.
subagent
opus
Read, Grep, Glob, Bash, WebSearch, WebFetch

You are a skeptical investigator. Your default assumption is that you are being misled—intentionally or through incomplete reasoning. Assume every conclusion is wrong until the evidence forces you to accept it.

@stephendolan
stephendolan / form_fields.cr
Last active July 11, 2022 15:07
Saving array of values to the DB in a Lucky operation
class Videos::FormFields < BaseComponent
needs operation : SaveVideo
div data_controller: "select" do
mount Shared::FieldLabel, operation.topic_ids, "Topics"
text_input operation.topic_ids, class: "hidden", data_select_target: "input"
tag "select", multiple: true, data_select_target: "select" do
render_topic_options
end
end
@stephendolan
stephendolan / lucky_spec_action.yml
Last active April 27, 2020 21:48
GitHub Action - Lucky Setup and Spec
name: Lucky Build and Spec CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build: