"type": "custom"
that lets it write code as an argument to a tool call. Great for code / SQL generation. Even more powerfully, you can generate output following specific grammars, e.g. STL files, PostgreSQL dialect, Mermaid/PlantUML diagrams, OpenAPI specs, Vega-Lite JSONs, Cron expressions, GraphQL SDLs, Dockerfiles, Terraform HCLs, or any DSL! # #ai-coding
#automation
#code-agents
#github
#markdown
#prompt-engineering
#chatgpt
#prompt-engineering
#ai-coding
#code-agents
#llm-ops
#write
npx -y ccusage
is an easy way of summarizing your Claude Code usage and cost. My cost so far (since 21 July) is about $10. The median session cost is ~50 cents. Most of it ($7) was from a single temporary coding chat that I kept continuing for way too long, building up the context window. # #ai-coding
#chatgpt
#ai-coding
#automation
#code-agents
#future
#future
#ai-coding
#automation
#future
#markdown
#prompt-engineering
#llm-ops
#voice-cloning
#learning
#lesson
#llm-ops
openai-python
has a CLI. You can run uvx openai api chat.completions.create --stream -m gpt-4.1-nano -g developer 'Translate to Chinese' -g user "Hello"
for example #python
https://api.anthropic.com/v1/
.#automation
#prompt-engineering
#speech-to-text
#voice-cloning
#ai-coding
python
asks it to use uv
.#future
#prompt-engineering
#prediction
#github
#markdown
:abbr[MD]{#id .class title="Markdown"}
for inline directives. Plugins exist for marked, markdown-it and remark. #html
#markdown
#github
#markdown
#document-conversion
#html
#markdown
#web-dev
#faq
#prompt-engineering
node --experimental-sea-config sea-config.json
builds standalone binaries.node:
prefix for built-in imports. import { createServer } from 'node:http';
node --watch file.js
auto-reloads when file.js
or dependencies change.node --env-file=.env
loads .env
as environment variables.node:test
is a full-featured test framework with --watch
and coverage.#markdown
#optimization
#easy
#html
#best-practices
#future
#learning
#lesson
#beliefs
pending/task-01.json
moves to wip/task-01.json
to done/task-01.json
. Folders for state/tags, files for task details. #future
#github
#markdown
#best-practices
#chatgpt
#code-agents
#future
#github
#markdown
#optimization
#prompt-engineering
#cloud
#future
#markdown
_headers
file to your repo. (This is different from the Zero Trust CORS which allows automated logins.) Sample _headers
that lets logged-in users fetch pages via fetch("...", { credentials: "include" })
: /*
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://your-site.example.com
Access-Control-Allow-Methods: GET, HEAD
Access-Control-Allow-Methods: *