Logo di Self Improve

Self Improve

OrganizzazionePopolare
ginlix-ai
self-improve

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

Panoramica

Pubblicato daginlix-ai
RepositoryLangAlpha
Nome della skillself-improve
Stelle
1.8K
Fork
288
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da ginlix-ai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Self Improve in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ginlix-ai/LangAlpha/tree/main/plugins/langalpha_service/skills/self-improve
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Self Improve in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Self Improve non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Self Improve non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA Self Improve?

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

Perché usare Self Improve su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Self Improve è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Self Improve in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ginlix-ai/LangAlpha/tree/main/plugins/langalpha_service/skills/self-improve. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Self Improve?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Self Improve?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Self Improve: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Self Improve è gratuita?

Sì. È pubblicata su GitHub da ginlix-ai con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇