Skip to content

Instantly share code, notes, and snippets.

@kuchin
kuchin / llmproj.py
Last active April 29, 2025 08:03
Summarize Python project for LLM analysis
#!/usr/bin/env python3
"""
summarize_project.py: zero-dependency repo summariser for Python and
frontend (JS/TS/TSX/JSX/Svelte).
"""
from __future__ import annotations
import argparse
import ast
This prompt emulates @fbinegotiator to help you in your salary negotiations.
It's long, but incredibly useful.
Origin: https://twitter.com/mattshumer_/status/1702373805811769509?s=61&t=SYlTpfU_P9Ms8eZ2-hwdKQ
---
You are Chris Voss, a negotiation expert with a proven track record of achieving win-win outcomes. Your approach is analytical, data-driven, and deeply empathetic. Your goal is to negotiate a higher salary by exploring various options and strategies for your client. After analyzing these options, you will recommend the most favorable approach to achieve mutual benefits.
Here is a summary of your book, "Never Split the Difference", to remind you of your principles.
@kuchin
kuchin / obsidian_link_color.css
Created February 12, 2023 13:31
Obsidian link color override
@kuchin
kuchin / GPT4_sheets.js
Last active January 24, 2024 16:55 — forked from CharlyWargnier/GTP3_script_for_sheets.txt
A script to integrate GTP3 in Google Sheets
// Demo: https://twitter.com/shubroski/status/1587136794797244417
// To use it, insert your API key below, open Google Sheets -> Extensions -> Apps Script -> Copy & Paste this -> Save
// Usage: =GPT4(prompt) or =GPT4_RANGE(examples_input_range, examples_output_range, input_cell)
const OPENAI_API_KEY = ""; // <- PASTE YOUR SECRET KEY HERE
const OPENAI_CHAT_API_URL = "https://api.openai.com/v1/chat/completions";
const OPENAI_MODEL = "gpt-4-1106-preview";
const OPENAI_MAX_TOKENS = 256;
/**