Logo di Create Agent

Create Agent

Community
lploc94
create-agent

Use to create or customize a Raw agent through files or dashboard, with prompt, tools, skills, vars, MCP and policy. Use create-package to distribute an existing setup; configure-raw for one setting.

Add to TypingMind

Panoramica

Pubblicato dalploc94
Repositoryraw-cli
Nome della skillcreate-agent
Stelle
107
Fork
14
File inclusi
2
LicenzaMIT
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.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da lploc94 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Create Agent 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/lploc94/raw-cli/tree/main/examples/skills/create_agent
  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/lploc94/raw-cli.git /tmp/raw-cli
mkdir -p .claude/skills
cp -r /tmp/raw-cli/examples/skills/create_agent .claude/skills/create-agent
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Create Agent 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 Create Agent 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 Create Agent 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à.

Create a Raw agent

Use for a new named assistant, a specialized role or a shareable Raw setup. An agent is one agents. entry selecting model, prompt, tools, skills, hooks, vars and policy. A session is a saved conversation, not an agent definition. Use configure_raw for changing a field of an existing agent.

For creation, establish role/name/location/model; for failure, diagnose referenced assets.

Choose the layout

Personal config: $XDG_CONFIG_HOME/raw/config.json or ~/.config/raw/config.json. Reuse model aliases; preserve other agents/default.

Use create-package to distribute an existing setup. Read references/packages.md for package authoring and references/dashboard.md for browser composition with read_file. Copied config directories also work: agent/<id> assets travel with the config; local/<id> assets do not.

Copy examples/agents/project-helper/ for a forkable layout. This example selects a prompt, tools, a skill, a hook and a conditional Bash rule.

json
{
  "default_agent": "writer",
  "models": {
    "local": { "provider": "ollama", "method": "openai-chat-completions", "model_id": "YOUR_INSTALLED_MODEL", "base_url": "http://127.0.0.1:11434/v1", "context_window_tokens": 32768 }
  },
  "agents": {
    "writer": {
      "model": "local",
      "system_prompt_file": "prompt.md",
      "tools": { "use": ["builtin/read_file", "builtin/write_file", "builtin/edit_file", "builtin/bash", "builtin/list_skills", "builtin/load_skill"],
        "rules": [{ "match": "builtin/bash", "effect": "ask", "when": { "source": "arguments", "any": "command", "regex": "(^|[;&|()\\n])\\s*rm(\\s|$)" } }] },
      "skills": { "use": ["builtin/configure_raw"] },
      "hooks": { "use": ["agent/guard"] },
      "max_steps": 25,
      "compact": { "keep_recent_turns": 2, "trigger_tokens": 24000 }
    }
  }
}

Create prompt.md beside raw.json, for example:

markdown
You are a writing assistant. Read the supplied material, draft clear documentation
in the requested format, and distinguish verified facts from assumptions. Preserve
unrelated files. For requests about Raw configuration, list selected skills and
load the relevant guidance. Report the written artifact and checks performed.

Replace the model ID and limits with verified capabilities. Recipients provide their own credentials.

Compose the role and capabilities

Write the prompt with role, deliverables, scope and uncertainty handling. Choose literal system_prompt (empty allowed) OR a UTF-8 system_prompt_file path, never both. File paths resolve relative to config. --system-prompt and RAW_SYSTEM_PROMPT override it. Add list/load routing only when selected skills help; do not paste skill bodies into the initial prompt.

The model alias must exist under models. Its required nonempty strings are provider, method and exact upstream model_id. Methods: openai-chat-completions, openai-responses, anthropic-messages, google-generate-content. Matching services have supported defaults; custom/gateway pairs need HTTP(S) base_url. Credentials may be api_key_env or literal api_key, not both; an unauthenticated endpoint needs neither. Optional vision is boolean; context_window_tokens and max_output_tokens are positive integers with output below context. Select builtin/view_image only with vision:true.

Required tools.use is ordered and may be empty. Select exact builtin/<id>, local/<id>, agent/<id> or mcp/server/original-tool-name IDs; on Windows without Git Bash select builtin/powershell in place of builtin/bash. Optional skills.use selects unique exact builtin/, local/ or agent/ skill IDs; a nonempty list requires both skill tools. Optional hooks.use selects ordered unique local/, agent/ or pkg/ALIAS/hooks/EXPORT IDs. This example expects hooks/guard/ beside raw.json; copy installed examples/hooks/guard/ there. It gates matching builtin/bash removal calls and reports Bash failures. Omit hooks.use when no event behavior is needed. Use create_hook to author or edit. Missing selected assets block startup.

To make a new plugin or skill, use its creation skill only when needed. For existing assets, copying and checking exact IDs is enough. MCP definitions belong to top-level mcp.servers; select actual original tool names, not the model-facing aliases. add_mcp covers new connection setup.

Policy belongs in this agent's tools.rules. Ordered allow/ask/deny rules match canonical IDs, last match wins, unmatched calls run. Conditional ask may inspect a schema-bound string path with an RE2 search pattern. The example uses Bash's command and a direct rm pattern; it is textual matching, not complete shell analysis. Ask without an approval channel fails closed. Preserve selective Bash approval rather than prompting for every command. Tools retain full OS permissions.

Optional controls: positive integers max_steps, max_output_bytes, request_timeout_ms; request for provider-specific reasoning/output; cache for supported hints; compact for retention/summarization. Automatic compact is on by default when the model declares context_window_tokens; compact.trigger_tokens sets a threshold leaving output reserve, or false keeps it manual; compact.instructions adds text to every checkpoint prompt. Consult configure_raw for nontrivial provider-specific fields instead of copying another provider's controls blindly.

Create, verify and share

  1. Select a unique name and destination; back up an existing config before adding fields. Keep its mode 0600. For a portable config omit sessions, which is canonical-only.
  2. Add/reuse the model, create the prompt and selected custom assets (including hooks/guard/ for this example), then add the agent with exact IDs. Keep the existing default unless asked; a new standalone file may set its own default_agent. raw --agent writer "query" selects explicitly; raw "query" follows configured selection.
  3. Run raw --config /path/to/raw.json config list. It verifies schema and references to model aliases, not file contents or live MCP. If the installed library is importable, use loadConfig({configPath,requireModel:false}) to check the prompt and createRuntimeTools({runtime,cwd}) to load selected tools/skills and connect selected MCP. Close tools.mcp afterward. Otherwise use a harmless task with the intended agent when model access exists and report what remains unverified.
  4. For a copied-config share, relocate the directory and repeat loading. For an archive, follow references/packages.md: export or author, validate, pack, install, bind a recipient model/inputs and run. Check owned assets, external commands and selected policy with harmless calls. Exclude private session state and machine-specific paths.

Report agent/config/model, selected assets, checks and prerequisites. raw --resume ID --agent NAME "query" adopts the current agent on the same conversation; meaningful runtime changes rotate once, while skill changes may add a reload notice. Sharing an agent does not transfer session identity.

Select and share variables

Root vars/var_providers define values and executable sources; agent.vars selects exact names, omitted means none. Add builtin/list_vars/read_var to tools.use when discovery/reading is needed. Example: root vars.now={description:"Current UTC time",access:"read",source:{kind:"provider",name:"system.time"}}, agent.vars=["now"]. configure_raw covers the full schema; create_tool covers executable providers.

Keep provider scripts/data beside the shared config; command paths, file sources and provider cwd resolve from config, unlike Bash's session cwd. Recipients supply environment values and executable dependencies. Use references for consumption-only values, e.g. Bash env_refs; do not copy them into the prompt. List/get via raw --config PATH --agent NAME vars needs no model. Repeat after relocating. Runtime values stay out of the initial prefix; old readings are historical on resume. Providers execute on demand, not during listing.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Create Agent?

Use to create or customize a Raw agent through files or dashboard, with prompt, tools, skills, vars, MCP and policy. Use create-package to distribute an existing setup; configure-raw for one setting.

Perché usare Create Agent su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Create Agent è 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 Create Agent in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/lploc94/raw-cli/tree/main/examples/skills/create_agent. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Create Agent?

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 Create Agent?

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

La skill IA Create Agent è gratuita?

Sì. È pubblicata su GitHub da lploc94 con licenza MIT. 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 👇