Skip to content

Instantly share code, notes, and snippets.

@alexey-pelykh
alexey-pelykh / toucantest.html
Last active March 9, 2016 14:32 — forked from Tobitron/toucantest.html
toucantest
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>
<link href="http://www.tobiaskahn.com/seeds/toucan.css" rel="stylesheet" type='text/css'>
</head>
<body>
<div>
<div class="parent">
<div class="container">
<a href="about:close"><div class="x">x</div></a>
#!/usr/bin/env python3
from collections import defaultdict
import csv
import http.client
import lxml.html
import os
import sys
import time
import urllib.error
@alexey-pelykh
alexey-pelykh / macos_lldb_qt.sh
Last active May 11, 2022 05:18
Configure LLDB on MacOS to use pretty-printers from Qt Creator
#!/bin/sh
brew install --cask qt-creator
pip3 install pygdbmi
cat <<EOT >> ~/.lldbinit
script -l python -- import sys; sys.path += [ "/opt/homebrew/lib/python%s.%s/site-packages" % (sys.version_info.major, sys.version_info.minor) ]
command script import "/Applications/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py"
EOT
@alexey-pelykh
alexey-pelykh / get_typing_param_args.py
Last active August 12, 2025 12:27
Get param/arg map for Python's multi-level Generic's
from itertools import zip_longest
from typing import Any, Generic, Literal, Mapping, Protocol, Type, TypeVar, get_args, get_origin, overload
@overload
def get_typing_param_args(
tp: Type[Any],
/,
*,
resolve: Literal[True],
@alexey-pelykh
alexey-pelykh / report_example_qweb.xml
Created July 4, 2024 13:54
Include arbitrary record field in Odoo's QWeb report
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_example">
<span t-field="env['some.other.model'].browse(42).the_field">[PLACEHOLDER]</span>
</template>
</odoo>
@alexey-pelykh
alexey-pelykh / .github-workflows-example.yaml
Created October 10, 2024 08:29
Keyless GitHub <> GCP via workload identity federation
name: Example
jobs:
terragrunt:
permissions:
contents: read
id-token: write

Investigative Engineering Report: Claude Code extraKnownMarketplaces in Headless Mode

Date: December 4, 2025 Claude Code Version: 2.0.58


1. Introduction

1.1 The Mystery

Claude Code Skill Budget Research

TL;DR: Claude Code has an undocumented ~16,000 character budget for skill metadata. With typical 263-char descriptions, only ~42 skills fit. To show more skills, compress descriptions to ≤130 characters. Note: This is a skills-specific limit—the Tool Search Tool's defer_loading feature does NOT apply to skills.


The Problem

When using Claude Code with 63 installed skills, the system prompt showed: