Logo di Create Package

Create Package

Community
lploc94
create-package

Use when packaging or sharing Raw agents, tools, skills, hooks, vars or MCP as a .rawpkg, or preparing an updated release. Covers CLI and dashboard exports, recipient inputs and installation checks.

Panoramica

Pubblicato dalploc94
Repositoryraw-cli
Nome della skillcreate-package
Stelle
107
Fork
14
File inclusi
3
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: 3

    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 Package 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_package
  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_package .claude/skills/create-package
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Create Package 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 Package 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 Package 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 shareable Raw package

Produce editable package source, a validated .rawpkg archive and instructions the recipient can follow. Use for packaging existing components or assembling a package. Creating a new tool, skill, agent or MCP connection belongs to its creation skill when selected; use that guidance only for components the request actually needs.

For a how-to, explain the relevant commands and contract. For a requested artifact, carry out the workflow below. For a failed package, start from its validation or activation error and preserve unrelated configuration.

For browser import/export and typed binding forms, read references/dashboard.md with read_file.

Choose the source and contents

Establish the source agent or component paths, output directory, scoped package name (@owner/name) and SemVer release (1.0.0). Keep the requested scope: a tool-only or skill-only package needs no agent export. An export name, installed alias and recipient agent name are separate identifiers.

  • Existing agent: raw package export --agent NAME --name @owner/name --version 1.0.0 --out DIR --config AUTHOR_CONFIG. Use a new or empty destination. This copies selected owned assets and produces a report; inspect required inputs, external executables and unresolved assets before packing.
  • Selected components or a new composition: author raw-package.json and its declared files. Start from the installed examples/packages/tool-only/, skill-only/ or mixed-kit/ when helpful. The examples and docs/packages.md belong to the installed raw-cli package; do not assume a source checkout or resolve them from the project cwd.

Before writing a manifest or inputs, read references/manifest.md with read_file. Before installation, activation, updates or development linking, read references/packages.md. Resolve these references beside this loaded skill; load_skill does not automatically include their contents.

Package prompts, helpers, skill resources and provider/MCP scripts that the package owns. Keep recipient model aliases, machine paths, environment names and service settings in recipient bindings or typed inputs. Current var readings and session history are not package definitions. Builtin selections continue to use the recipient's Raw installation.

Export makes literal var sources and external paths/settings into recipient inputs by default. The CLI has no --include-literals or --include-files flags. For deliberately shared constants or owned files, edit the generated source/manifest or use the SDK's explicit includeLiterals and includeFiles options. Review wildcard rules after export; exact local tool identities are rewritten automatically.

Minimal package with a recipient input

This complete example exports a small agent, a reusable var and a notification hook. Create the three declared paths under a new source directory. The recipient supplies Node on PATH but no model credential is embedded.

raw-package.json:

json
{
  "schema_version": 1,
  "name": "@example/project-kit",
  "version": "1.0.0",
  "description": "An assistant that reads the recipient's project label",
  "files": ["agents/helper.json", "vars/project_label.json", "hooks/notice"],
  "exports": {
    "agents": {"helper": "agents/helper.json"},
    "vars": {"project_label": "vars/project_label.json"},
    "hooks": {"notice": "hooks/notice"}
  },
  "inputs": {
    "type": "object",
    "properties": {"project_label": {"type": "string", "description": "Recipient project label"}},
    "required": ["project_label"]
  },
  "requires": ["raw.agent/1", "raw.hook/2"],
  "metadata": {"external_executables": ["node"]}
}

agents/helper.json (the recipient supplies model):

json
{
  "system_prompt": "Help with the user's project. Read project_label when the project name is relevant. Treat previous variable readings as historical.",
  "tools": {"use": ["builtin/list_vars", "builtin/read_var"]},
  "vars": ["#vars/project_label"],
  "hooks": {"use": ["#hooks/notice"]}
}

vars/project_label.json:

json
{
  "description": "The recipient's project label",
  "access": "read",
  "type": "string",
  "source": {"kind": "literal", "value": {"$input": "project_label"}}
}

The recipient input file for this example is {"project_label":"My project"}. This is a supplied definition value; changing it does not evaluate a provider or template the prompt.

hooks/notice/hook.json and hooks/notice/index.mjs (both covered by files):

json
{"protocol_version": 2, "name":"notice","events":[{"name":"UserPromptSubmit"}],"command":"node","args":["./index.mjs"],"timeout_ms":3000}
js
process.stdin.resume();
process.stdin.on("end", () => process.stdout.write(JSON.stringify({message:"Package hook ran"})));

The hook is selected only by the exported agent. Inspection, installation and binding validate it without running the script; a selected user prompt triggers it. To package a hook alone, export hooks.notice and declare its complete folder, then add pkg/ALIAS/hooks/notice to a direct agent's ordered hooks.use.

Validate, pack and hand off

  1. Run raw package validate DIR and raw package inspect DIR. Resolve missing/undeclared files and invalid references at their source. Validation does not import tools, execute providers, connect MCP or call a model.
  2. Run raw package pack DIR --out FILE.rawpkg, then inspect that archive. Report its name, version, exported components, required inputs and executable prerequisites. There are no install hooks or automatic npm/pip/system dependency installers.
  3. For an artifact request, check the recipient path using an isolated config and data directory as described in references/packages.md. Install the archive, bind the requested export and exercise the relevant harmless operation. A missing external service or model need not block packing; report which live behavior remains unverified. A prose explanation needs no test installation.
  4. Deliver the archive path and exact install/binding commands. Include an input example, a recipient model placeholder and any external prerequisites. The recipient supplies an existing local model alias. Installing alone does not select components or change default_agent.

Send or publish the artifact only when requested. Raw v1 accepts local folders and .rawpkg files; a user can download one from GitHub Releases, but Raw has no hosted marketplace or automatic Git download command.

For a new release, update the source version and repack, then use raw package update ALIAS --from NEW.rawpkg --config CONFIG. Existing sessions can resume with the current runtime. Meaningful prompt/tool changes may rotate Raw's generated cache key once; skill changes can add a tail reload notice. An unchanged next resume is stable; a version label alone is not a reason to reset sessions.

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 Package?

Use when packaging or sharing Raw agents, tools, skills, hooks, vars or MCP as a .rawpkg, or preparing an updated release. Covers CLI and dashboard exports, recipient inputs and installation checks.

Perché usare Create Package su TypingMind?

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

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/lploc94/raw-cli/tree/main/examples/skills/create_package. 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 Package?

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 Package?

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

La skill IA Create Package è 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 👇