Logo: Self Improve

Self Improve

OrganisatiounBeléift
ginlix-ai
self-improve

Report issues and propose fixes to improve your own capabilities when you encounter errors or limitations

Iwwersiicht

Editeurginlix-ai
RepositoryLangAlpha
Skill-Nummself-improve
Stären
1.8K
Forks
288
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    ginlix-ai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Self Improve an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ginlix-ai/LangAlpha/tree/main/plugins/langalpha_service/skills/self-improve
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ginlix-ai/LangAlpha.git /tmp/LangAlpha
mkdir -p .claude/skills
cp -r /tmp/LangAlpha/plugins/langalpha_service/skills/self-improve .claude/skills/self-improve
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Self Improve an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Self Improve automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Self Improve net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Self-Improvement

You have access to gh CLI and git in the sandbox. Use this skill when you encounter bugs, errors, or limitations in your own capabilities during your work.

When to Activate This Skill

Recognize these situations during your normal work:

  • A tool call fails with an unexpected error
  • A skill's instructions (SKILL.md) have wrong examples or outdated API usage
  • An MCP tool returns malformed or unexpected data
  • A prompt instruction is unclear, contradictory, or missing
  • A sandbox script or package is broken or misconfigured
  • You notice a code pattern that would make your work more effective if fixed

Always ask the user for consent before filing an issue or creating a PR. Briefly explain what you found and what you want to report, then ask for approval. Do NOT file anything without explicit user confirmation.

Do NOT derail the user's current task. Keep the consent request brief, file the issue quickly after approval, then continue with the user's request.

Authentication

  • GITHUB_TOKEN env var is pre-configured (injected from GITHUB_BOT_TOKEN)
  • Git identity is set via env vars — no git config needed

Workflow 1: Report a Bug (default — quick, no cloning)

Use when: you encounter any issue with your own capabilities. Time: <30 seconds. Don't interrupt the user's flow.

Template:

bash
gh issue create --repo "ginlix-ai/LangAlpha" \
  --title "bug(agent): <what broke>" \
  --label "agent-reported" \
  --body "<structured body>"

Issue body structure:

## What I was doing
<user's task context — what were you trying to accomplish>

## What went wrong
<exact error message or unexpected behavior>

## Where the issue likely is
<file paths, function names, skill names — be specific>

## Suggested fix
<if obvious, describe; otherwise "Needs investigation">

## Environment
- Thread: <thread_id if available>
- Tool/Skill: <which tool or skill was involved>
- Error type: <tool_error | skill_instruction | mcp_data | prompt | sandbox>

@claude Please triage this issue — verify the root cause, assess severity, and suggest a fix if straightforward.

Workflow 2: Propose a Fix (rare — only when user explicitly asks)

Default to Workflow 1 (filing an issue). Only create a PR when the user explicitly asks you to fix it yourself. Do NOT propose PRs on your own initiative.

Steps:

  1. Clone or update: if .self-improve/langalpha exists, cd .self-improve/langalpha && git checkout main && git pull origin main to get latest. Otherwise gh repo clone "ginlix-ai/LangAlpha" .self-improve/langalpha -- --depth 1
  2. Branch: cd .self-improve/langalpha && git checkout main && git checkout -b bot/fix/<short-desc>
  3. Make the fix (keep it minimal and focused)
  4. Test: ruff check . && pytest (or relevant subset)
  5. Commit: conventional format — fix(scope): description
  6. PR:
bash
gh pr create --repo "ginlix-ai/LangAlpha" \
  --base main \
  --title "fix(agent): <what's fixed>" \
  --label "agent-reported" \
  --body "<structured body>"

PR body structure:

## Problem
<link to issue if filed, or describe the bug>

## Root Cause
<what was wrong and why>

## Fix
<what was changed and why this approach>

## Testing
<what tests were run, what was verified>

## Context
- Discovered during: <brief user task description>
- Thread: <thread_id>

Codebase Guide — Where to Look

Use this to identify the right module when filing issues or proposing fixes.

DirectoryWhat lives hereExample issues
skills/Skill SKILL.md instructions and assetsWrong examples in skills/dcf-model/SKILL.md, bug in a provided script snippet, outdated API usage, missing steps in a workflow, new best practice to add
mcp_servers/MCP server implementations (yfinance, fundamentals, macro, price_data)yfinance_mcp_server.py returns malformed data, a fundamentals endpoint is missing a field, macro data has wrong units
src/tools/External tool implementations (web fetch, crawl, search, SEC, market data)fetch.py times out on certain URLs, SEC filing parser fails on 10-K amendments, search returns stale results
src/ptc_agent/agent/tools/Core sandbox tools (ExecuteCode, Bash, file ops, grep, glob, think, todo)code_execution.py mishandles large stdout, bash.py doesn't escape special chars, file_ops.py fails on binary files
src/ptc_agent/agent/middleware/Middleware stack (skills, subagents, plan mode, compaction, memory, caching)Skill loading fails silently, subagent doesn't inherit context, compaction truncates important content
src/ptc_agent/agent/prompts/System prompt templates (Jinja2) and configRedundant or wrongful instructions in system.md.j2, useful tips and experience worth persisting into prompts

Label Convention

  • Always use agent-reported label
  • Add bug for broken behavior, enhancement for capability gaps
  • Add scope labels: skills, tools, mcp, prompt, sandbox

Safety Rules

  • NEVER push directly to main — always bot/fix/ or bot/feat/ branches
  • main branch contains the latest code. Always branch from main, target PRs to main
  • ALWAYS run linting and tests before creating a PR
  • Keep PRs small — one fix per PR, max 1-3 files
  • Clone to .self-improve/langalpha (inside workspace, persists across restarts)
  • NEVER commit tokens, secrets, API keys, or user data
  • NEVER include confidential or private information in issues or PRs — no user data, no internal business context, no API responses containing private data, no conversation content. Describe the technical problem only.
  • After filing/PR, immediately return to the user's original task

Pre-Submit Checklist

Go through EVERY item before running gh issue create or gh pr create:

  • User consent obtained — user explicitly approved filing this issue/PR
  • No secrets or tokens — title, body, and diff contain zero credentials, API keys, or env values
  • No private data — no user names, portfolio holdings, conversation content, or internal business context
  • No raw API responses — sanitize or omit any data returned from MCP tools or external APIs
  • Technical description only — the issue/PR describes the bug or fix, not what the user was working on
  • Correct repo — targeting ginlix-ai/LangAlpha
  • Correct branch (PRs only) — branched from main, PR base is main
  • Minimal diff (PRs only) — only the files needed for the fix, no unrelated changes

Heefeg gestallte Froen

Wat mécht de KI-Skill Self Improve?

Report issues and propose fixes to improve your own capabilities when you encounter errors or limitations

Firwat Self Improve op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Self Improve besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Self Improve an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ginlix-ai/LangAlpha/tree/main/plugins/langalpha_service/skills/self-improve an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Self Improve benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Self Improve benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Self Improve domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Self Improve gratis?

Jo. ginlix-ai huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇