Skip to content

Instantly share code, notes, and snippets.

View khasky's full-sized avatar
💭
Находи в себе силы делать то, на что другие просто не способны.

Khasky khasky

💭
Находи в себе силы делать то, на что другие просто не способны.
View GitHub Profile
@khasky
khasky / awesome-agent-skills-guide.md
Last active October 19, 2026 08:15
Practical AI coding workflows with Awesome Agent Skills

An AI agent can finish a feature, pass the tests, and still leave behind unnecessary abstractions, misleading comments, or a README that no longer matches the product. Asking it to "check everything" gives it little guidance about what to investigate or what would count as proof.

Awesome Agent Skills turns recurring engineering tasks into reusable procedures. Its 49 skills cover code review, debugging, testing, architecture, security, documentation, Git, and writing. Each defines a process and an expected result: a verified fix, a prioritized audit, a simpler plan, or documentation grounded in the code. I distilled each one from public collections and documented practice, then sharpened it in rounds of use on real repositories.

Its strongest use case is maintaining an existing product: understanding what has accumulated, deciding what can be removed, and checking that implementation, tests, and public promises still agree. 🔍

What Makes the Collection Use

@khasky
khasky / non-english-prompts-cost-more-tokens.md
Last active October 19, 2026 08:15
Non-English prompts cost more tokens, context and money in most LLMs

Claude Opus 5 costs $5 per million input tokens whether a prompt arrives in English or in Russian. What changes between the two languages is how many tokens the same paragraph becomes, and the bill is that count multiplied by the price.

A recent test on Habr measured the gap across 11 tokenizers. Its numbers line up with research going back to 2023: on most popular models, a language other than English costs more to send, fills the context window sooner and reaches rate limits with less text.

How the test worked

A token is the chunk of text a model reads and bills by, usually a piece of a word. The tokenizer is the component that cuts text into tokens with a vocabulary fixed before the model is trained.

The author, Habr user donseo, wrote 4 parallel text pairs in Russian and English: a technical article, a support chat, a business notice and Python code with comments. The Russian side holds about 2,500 characters. Open tokenizers ran locally through tiktoken a

@khasky
khasky / ascii-typography-content.mdc
Created October 4, 2026 07:42
Use ASCII straight quotes and hyphens in authored content and UI copy (no smart punctuation)
---
description: Use ASCII straight quotes and hyphens in authored content and UI copy (no smart punctuation).
alwaysApply: true
---
# Typography for authored content
When writing or editing **user-facing text** (Markdown under `/content`, i18n JSON, FAQ strings, tool descriptions, comments that ship as copy, etc.), use **plain keyboard punctuation** only.
## Do / don't
@khasky
khasky / fable-advises-opus-in-claude-code.md
Last active October 19, 2026 08:16
Fable becomes the advisor to Opus 5.5 in Claude Code

With Opus 5.5 as the main model in a Claude Code session, a Fable quota can still go to work without Fable taking over the session. The /advisor fable command connects Fable as an advisor that Opus consults on its own. Opus keeps writing the code.

What the advisor does

The advisor is a second model attached to the session, and Opus decides when to call it. It tends to ask before committing to an approach, when the same error keeps coming back, and before declaring a task done. That timing is model-driven rather than rule-based.

Each call hands Fable the full conversation, with every tool call and its result. Fable returns guidance, and Opus applies it before it continues. With Opus 5 or Opus 5.5 as the main model, Claude Code accepts Fable or Opus 5 and later in the advisor role.

Turning it on

@khasky
khasky / neon-optimization-analyzer.agent.md
Created October 2, 2026 04:38
Neon Performance Analyzer Agent
name Neon Performance Analyzer
description Identify and fix slow Postgres queries automatically using Neon's branching workflow. Analyzes execution plans, tests optimizations in isolated database branches, and provides clear before/after performance metrics with actionable code fixes.
source https://github.com/github/awesome-copilot/blob/main/agents/neon-optimization-analyzer.agent.md

Neon Performance Analyzer

You are a database performance optimization specialist for Neon Serverless Postgres. You identify slow queries, analyze execution plans, and recommend specific optimizations using Neon's branching for safe testing.

@khasky
khasky / caveman-mode.agent.md
Created October 2, 2026 04:37
Caveman Mode Agent
description Terse, low-token responses. Minimal words, no fluff. Full capabilities preserved. Use when: optimize token usage, low-token mode, concise output, caveman mode, reduce verbosity, token-efficient, brief responses.
name Caveman Mode
source https://github.com/github/awesome-copilot/blob/main/agents/playwright-tester.agent.md

Caveman Mode

You are a blunt, token-conscious developer. Your job: answer fast, use minimal words, no fluff. Say only what's needed. Use terse, direct language. Can add dry remarks when pointing out inefficiencies or absurd edge cases. Full tool access. Same capabilities, fewer words.

@khasky
khasky / rejudge-replaces-self-review.md
Last active October 19, 2026 08:16
Rejudge replaces self-review with 3 independent models and a judge

I have a hard time trusting an AI coding agent to review code it just wrote.

The model already made the decision that the implementation was good enough to produce.

Then we ask it to inspect that same implementation using many of the same learned habits and assumptions.

Sometimes it catches mistakes. Sometimes it revalidates them. A fresh session helps. A different model helps more.

But once different models disagree, somebody still has to decide which review to trust.

@khasky
khasky / gemini-4-argon-beats-gpt-6-astra-and-claude.md
Created October 1, 2026 06:11
Gemini 4 Argon beats GPT-6 Astra and Claude on most benchmarks

Google DeepMind has announced Gemini 4 Argon, a frontier model aimed at long software engineering jobs, legal and finance work, and cyber defense. In Google's own evaluation it beats GPT-6 Astra, Claude Fable 5.1 and Claude Opus 5.5 on most of the benchmarks it reports. Almost nobody can use it yet.

Where Argon comes first

The comparison table covers 19 rows across knowledge work, agentic coding, ML engineering, science and math, long context, computer use, multimodal understanding and cybersecurity. Argon finishes first or tied for first on 14 of them.

The number Google leads with is DeepSWE v1.1, a set of real-world software engineering tasks. Argon scores 77.9% there, against 74.2% for Opus 5.5, 74.1% for Astra and 67.4% for Fable 5.1. The widest gap sits on Harvey's Legal Agent Benchmark, where Argon reaches 19.6% and none of the other three gets past 6.7%. 🎯

Benchmark                          Argon   Astra   Fable 5.1  Opus 5.5
@khasky
khasky / free-email-forwarding-cloudflare.md
Last active September 30, 2026 09:45
Free email forwarding for your personal domain with Cloudflare Email Routing

Forward any address at your domain, such as hello@example.com, to an external inbox. For a public address that only has to receive mail, I would put it on Cloudflare Email Routing: the messages land in the inbox I already read, and forwarding to a verified destination costs nothing on any plan. 💸

Prerequisites: the domain is on Cloudflare DNS (nameservers delegated, DNS Setup = Full), and it has no MX records from another mail host. Email Routing owns the MX set.

1. Verify the destination address

Compute > Email Service > Email Routing > Destination Addresses > Add address. Enter the external inbox (for example, you@gmail.com). Cloudflare emails a confirmation link, and you click it.

The row must read Verified. Until it does, any rule that points to the address stays disabled.

@khasky
khasky / AGENTS.md
Created September 28, 2026 09:17
Random AGENTS.md

AGENTS.md

Drop-in operating instructions for coding agents. Read this file before every task.

Working code only. Finish the job. Plausibility is not correctness.

This file follows the AGENTS.md open standard (Linux Foundation / Agentic AI Foundation). Claude Code, Codex, Cursor, Windsurf, Copilot, Aider, Devin, Amp read it natively. For tools that look elsewhere, symlink:

ln -s AGENTS.md CLAUDE.md