Skip to content

TIKAZI/TIKAZ-AI-Skills / suites/context-economy

context-economy

Flagged

Automatically prepare fidelity-first, bounded context when users paste text, attach files or folders, provide webpages or PDFs for Markdown conversion, continue long conversations, or supply documents containing images and complex tables. Route each input through Text, Hybrid, or Source; reduce exact or formatting-only repetition; protect facts and source anchors; queue only useful visual evidence; preserve uncertain originals; and benchmark efficiency and fidelity separately.

FileKindSize
MANIFEST.inother353 B
README.mdmarkdown17.1 KB
README.zh-CN.mdmarkdown8.6 KB
SKILL.mdskill md5.5 KB
VERSIONother10 B
__init__.pyscript118 B
__main__.pyscript77 B
adapters/defuddle/extract.mjsscript694 B
adapters/defuddle/package-lock.jsonmanifest12.8 KB
adapters/defuddle/package.jsonmanifest172 B
agents/openai.yamlconfig420 B
assets/conversation-state.template.mdmarkdown715 B
assets/workflow.svgother5.7 KB
benchmarks/fixtures/chinese.mdmarkdown168 B
benchmarks/fixtures/code.pyscript127 B
benchmarks/fixtures/conversation.mdmarkdown176 B
benchmarks/fixtures/data.jsonconfig84 B
benchmarks/fixtures/efficiency-long.mdmarkdown3.5 KB
benchmarks/fixtures/english.mdmarkdown167 B
benchmarks/fixtures/long-form.mdmarkdown439 B
benchmarks/fixtures/multimodal-decoration.mdmarkdown150 B
benchmarks/fixtures/multimodal-hybrid.mdmarkdown220 B
benchmarks/fixtures/multimodal-plain-image.mdmarkdown112 B
benchmarks/fixtures/multimodal-simple-table.mdmarkdown75 B
benchmarks/fixtures/multimodal-table.mdmarkdown257 B
benchmarks/fixtures/multimodal-text.mdmarkdown184 B
benchmarks/fixtures/multimodal-two-charts.mdmarkdown101 B
benchmarks/fixtures/prompt-repeat-a.txtmarkdown140 B
benchmarks/fixtures/prompt-repeat-b.txtmarkdown148 B
benchmarks/fixtures/prompt-structural-a.txtmarkdown238 B
benchmarks/fixtures/prompt-structural-b.txtmarkdown220 B
benchmarks/fixtures/service.logother155 B
benchmarks/fixtures/source-scan.pdfbinary193 B
benchmarks/fixtures/web-article-images.htmlother334 B
benchmarks/fixtures/web-article.htmlother389 B
benchmarks/fixtures/web-empty.htmlother135 B
benchmarks/manifest.jsonconfig11.9 KB
benchmarks/pdf/fixtures/illustrated-report.pdfbinary1.9 KB
benchmarks/pdf/fixtures/table-report.pdfbinary1.9 KB
benchmarks/pdf/fixtures/text-report.pdfbinary2.2 KB
benchmarks/pdf/generate_fixtures.pyscript3.1 KB
benchmarks/pdf/ground-truth.jsonconfig1.0 KB
benchmarks/pdf/results/README.mdmarkdown1.4 KB
benchmarks/pdf/results/converted/illustrated-report.mdmarkdown112 B
benchmarks/pdf/results/converted/table-report.mdmarkdown246 B
benchmarks/pdf/results/converted/text-report.mdmarkdown201 B
benchmarks/pdf/results/metrics.jsonconfig1.4 KB
benchmarks/pdf/run_fidelity.pyscript5.5 KB
benchmarks/results/README.mdmarkdown2.2 KB
benchmarks/results/cases.jsonconfig30.2 KB
benchmarks/results/metrics.jsonconfig4.1 KB
benchmarks/results/summary.jsonconfig1.1 KB
benchmarks/retrieval-challenge-v1.jsonconfig9.1 KB
benchmarks/retrieval-manifest.jsonconfig14.5 KB
benchmarks/retrieval-results/challenge-v1/cases.jsonconfig14.1 KB
benchmarks/retrieval-results/challenge-v1/evidence-card.mdmarkdown536 B
benchmarks/retrieval-results/challenge-v1/metrics.jsonconfig494 B
benchmarks/retrieval-results/challenge-v1/summary.jsonconfig1.1 KB
benchmarks/retrieval-results/development-v1/cases.jsonconfig19.6 KB
benchmarks/retrieval-results/development-v1/evidence-card.mdmarkdown603 B
benchmarks/retrieval-results/development-v1/metrics.jsonconfig442 B
benchmarks/retrieval-results/development-v1/summary.jsonconfig1.1 KB
pyproject.tomlmanifest2.1 KB
references/benchmark-method.mdmarkdown2.9 KB
references/context-health.mdmarkdown480 B
references/conversion-adapters.mdmarkdown2.5 KB
references/output-contract.mdmarkdown2.2 KB
references/routing.mdmarkdown1.4 KB
references/threat-model.mdmarkdown5.1 KB
scripts/__init__.pyscript45 B
scripts/tikaz_context.pyscript94.3 KB

benchmarks/pdf/generate_fixtures.py

View on GitHub
#!/usr/bin/env python3
"""Generate TIKAZ-owned PDF fidelity fixtures from declared ground truth."""

from pathlib import Path

from reportlab.lib import colors
from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.platypus import PageBreak, Paragraph, SimpleDocTemplate, Spacer, Table, TableStyle


ROOT = Path(__file__).resolve().parent
OUTPUT = ROOT / "fixtures"


def build_text_report() -> None:
    styles = getSampleStyleSheet()
    story = [
        Paragraph("Quarterly Operations Report", styles["Title"]),
        Spacer(1, 18),
        Paragraph("Version 8.2.1 passed 42 checks. Operating margin reached 24.6%.", styles["BodyText"]),
        PageBreak(),
        Paragraph("Release Decision", styles["Heading1"]),
        Paragraph("All checks passed. Rollback window remains 30 minutes.", styles["BodyText"]),
    ]
    SimpleDocTemplate(str(OUTPUT / "text-report.pdf"), pagesize=A4).build(story)


def build_table_report() -> None:
    styles = getSampleStyleSheet()
    data = [
        ["Region", "Capacity", "Utilization"],
        ["East", "120", "88.5%"],
        ["West", "95", "76.0%"],
    ]
    table = Table(data, colWidths=[150, 120, 120])
    table.setStyle(TableStyle([
        ("BACKGROUND", (0, 0), (-1, 0), colors.HexColor("#4C1D95")),
        ("TEXTCOLOR", (0, 0), (-1, 0), colors.white),
        ("GRID", (0, 0), (-1, -1), 0.75, colors.HexColor("#6B7280")),
        ("ALIGN", (1, 1), (-1, -1), "RIGHT"),
        ("PADDING", (0, 0), (-1, -1), 9),
    ]))
    story = [
        Paragraph("Regional Capacity Table", styles["Title"]), Spacer(1, 18), table, Spacer(1, 16),
        Paragraph("Capacity is measured in pallets per hour.", styles["BodyText"]),
    ]
    SimpleDocTemplate(str(OUTPUT / "table-report.pdf"), pagesize=A4).build(story)


def build_illustrated_report() -> None:
    styles = getSampleStyleSheet()
    flow = Table(
        [["Inbound", "->", "Inspection", "->", "Storage"]],
        colWidths=[105, 35, 105, 35, 105], rowHeights=[70],
    )
    flow.setStyle(TableStyle([
        ("BACKGROUND", (0, 0), (0, 0), colors.HexColor("#DBEAFE")),
        ("BACKGROUND", (2, 0), (2, 0), colors.HexColor("#EDE9FE")),
        ("BACKGROUND", (4, 0), (4, 0), colors.HexColor("#D1FAE5")),
        ("BOX", (0, 0), (0, 0), 1.2, colors.HexColor("#2563EB")),
        ("BOX", (2, 0), (2, 0), 1.2, colors.HexColor("#7C3AED")),
        ("BOX", (4, 0), (4, 0), 1.2, colors.HexColor("#059669")),
        ("ALIGN", (0, 0), (-1, -1), "CENTER"),
        ("VALIGN", (0, 0), (-1, -1), "MIDDLE"),
        ("FONTSIZE", (0, 0), (-1, -1), 12),
    ]))
    story = [
        Paragraph("Warehouse Flow Diagram", styles["Title"]), Spacer(1, 30), flow, Spacer(1, 20),
        Paragraph("3 stages are reviewed every 12 hours.", styles["BodyText"]),
    ]
    SimpleDocTemplate(str(OUTPUT / "illustrated-report.pdf"), pagesize=A4).build(story)


def main() -> None:
    OUTPUT.mkdir(parents=True, exist_ok=True)
    build_text_report()
    build_table_report()
    build_illustrated_report()
    print(f"Generated 3 PDF fixtures in {OUTPUT}")


if __name__ == "__main__":
    main()
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall