Configure Rawのロゴ

Configure Raw

コミュニティ
lploc94
configure-raw

Use to explain, edit or diagnose Raw configuration through files, CLI or dashboard, including package bindings, models, agents, prompts, UI, vars, limits and policy. Use creation skills for new assets or MCP connections.

Add to TypingMind

概要

公開者lploc94
リポジトリraw-cli
スキル名configure-raw
スター
107
フォーク
14
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    lploc94がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Configure Raw」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/lploc94/raw-cli/tree/main/examples/skills/configure_raw
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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/configure_raw .claude/skills/configure-raw
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでConfigure Rawを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にConfigure Rawを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Configure Rawは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Configure Raw

Edit or diagnose settings; preserve unrelated fields. Creation skills cover new assets.

File and selection

File: $XDG_CONFIG_HOME/raw/config.json or ~/.config/raw/config.json; --config selects another. Strict JSON: no unknown/duplicate fields, comments or trailing commas. raw config init creates once.

Root: models, agents; optional default_agent, mcp, sessions, ui, vars, var_providers. Agent precedence: --agent NAME, RAW_AGENT, default_agent. Prompt precedence: --system-prompt, RAW_SYSTEM_PROMPT, agent prompt, built-in prompt. No --model; agents reference model aliases.

Read references/packages.md for bindings and references/dashboard.md for web editing.

Model: models.<alias>

Required strings: provider (service name), method, exact upstream model_id. Methods: openai-chat-completions, openai-responses, anthropic-messages, google-generate-content.

  • base_url: HTTP(S); required except matching official OpenAI/Anthropic/Google, Ollama chat (http://127.0.0.1:11434/v1), OpenRouter chat (https://openrouter.ai/api/v1).
  • api_key: nonempty literal OR api_key_env: environment identifier, never both. Default env keys: OpenAI OPENAI_API_KEY, Anthropic ANTHROPIC_API_KEY, Google GEMINI_API_KEY then GOOGLE_API_KEY, OpenRouter OPENROUTER_API_KEY. Selected model alone resolves credentials; other providers have no default.
  • vision: boolean, default false; required for builtin/view_image.
  • context_window_tokens, max_output_tokens: positive integers; output below context. Verify limits.

Agent: agents.<name>

Required model: existing alias; tools.use: ordered unique exact IDs (empty allowed): builtin/<id>, local/<id>, agent/<id>, mcp/<server>/<original-name>. No wildcards. builtin=package, local=global Raw folders, agent=config-adjacent folders. Shell tools: builtin/bash, or builtin/powershell (same arguments) on Windows without Git Bash.

Optional:

  • system_prompt: string, empty allowed, OR system_prompt_file: nonempty UTF-8 path relative to config or absolute. Never both.
  • skills.use: unique builtin/local/agent IDs. Nonempty requires both builtin/list_skills and builtin/load_skill.
  • hooks.use: ordered unique exact string IDs: local/<name>, agent/<name> or pkg/<alias>/hooks/<export>; empty/omitted means none. The folder has hook.json and owned scripts. Read references/hooks.md for every field and value type; create_hook covers authoring and tests.
  • vars: ordered unique existing root variable names; omitted means none. Add builtin/list_vars/builtin/read_var to tools.use for discovery/reading.
  • Positive integers max_steps (10000), max_output_bytes (65536), request_timeout_ms (600000, the longest a model stream may stay silent). Precedence: flags, RAW_* env, agent.
  • tools.rules: ordered {match:string,effect:"allow"|"ask"|"deny"}. Match canonical IDs/globs (*, ?); last matching rule wins; unmatched runs automatically. Only ask permits when:{any:string,regex:string}, a schema-bound string, number or boolean path and RE2 search. Bash uses command; run_in_background matches true. -y cannot bypass ask; no approval channel fails closed. Not a shell parser/sandbox.

request.max_output_tokens: positive, within model/context reserve. Other fields only for matching pairs:

Hook manifest and response fields are specified in references/hooks.md. Gate failures block; notification failures warn. Hook approval never overrides a tool rule.

PairFields/values
OpenAI chat/responsesservice_tier: auto/default/flex/fast/priority; reasoning_effort: none/minimal/low/medium/high/xhigh/max; Responses reasoning_mode: standard/pro
DeepSeek chatthinking: enabled/disabled; reasoning_effort: low/high/max, incompatible with thinking disabled
Anthropic messagesthinking: {type:"adaptive"}, {type:"disabled"} or {type:"enabled",budget_tokens:N} (integer >=1024, below output cap); effort: low/medium/high/xhigh/max; service_tier: auto/standard_only
Google generate-contentthinking_level: minimal/low/medium/high OR nonnegative integer thinking_budget

Verify upstream support. cache: mode auto/no-hints, optional nonempty key (OpenAI), retention (OpenAI/Anthropic), backend generic/llama.cpp (latter requires chat). compact: nonnegative keep_recent_turns (2, a lower bound when it fits), positive keep_recent_tokens (verbatim tail size, min(20000, a quarter of the input budget)), positive max_output_tokens (16384, lowered to the model output cap and a quarter of the context), compact.trigger_tokens: positive threshold with context metadata/output reserve, false for manual only; default is 80% of the input budget when the model declares context_window_tokens. compact.clear_tokens: positive threshold for clearing old tool results to saved copies before compacting, false to turn it off; requires context_window_tokens, default 60% of the input budget. compact.instructions: optional string (at most 16384 characters) appended to every checkpoint prompt, e.g. what the checkpoint must always keep. compact.strategy: "checkpoint" (default) or "native", opt-in provider compaction on Anthropic Messages and OpenAI Responses only, falling back to a checkpoint with a warning.

Variables and providers

vars.<name> requires nonempty description, access:"read"|"use", and source. Read allows read/consume; use only consume. Optional type: string/number/boolean/object/array/null/json. Optional cache_ttl_ms: integer 0..2147483647 (default 0). Names: [a-z][a-z0-9_.-]{0,63}; constructor/prototype reserved.

Source shapes:

  • {kind:"literal",value:JSON}: type inferred, including false/0/empty/null.
  • {kind:"env",name:"ENV_NAME"}: string; unset errors, empty works.
  • {kind:"file",path:"data.json",format:"json"}: config-relative/absolute. text(default) preserves whitespace; json parses. UTF-8, <=65536 bytes.
  • {kind:"provider",name:"provider_name",params:{}}: params: config-defined object. No recursive refs. Built-in system.time requires empty params, returns UTC ISO time.

Type defaults: env/text/time string, literal inferred, others json. Env consumption accepts string/finite number/boolean, rejecting NUL.

var_providers.<name> requires string command; optional args: string array ([]), cwd: config-relative/absolute path (config directory), timeout_ms: integer 1..2147483647 (5000), max_output_bytes: integer 1..1048576 (65536, combined stdout/stderr). system.time is reserved. Bare commands use PATH; command paths resolve from config. Args stay literal and run from provider cwd. No shell/template expansion; process inherits environment.

Providers receive {protocol_version:1,name,params} on stdin, return {value,observed_at?} JSON on stdout, exit 0. Errors fail without stale fallback.

raw [--config PATH] [--agent NAME] vars list|get NAME needs no model/MCP/session. List is metadata; get requires read access. Bash env_refs passes named vars as environment values.

Values cache per runtime; resume starts empty. Vars changes preserve the prefix/key.

UI, MCP and sessions

Root ui: density compact/normal/verbose; reasoning hidden/summary/full; color auto/always/never; icons auto/unicode/ascii; theme terminal/dark/light. Matching flags override config. Show thinking with "ui":{"reasoning":"full"}.

mcp.servers.<name>: stdio {transport:"stdio",command:string,args?:string[],env?:string-map,timeout_ms?} or remote {transport:"streamable-http",url:HTTP(S),headers?:string-map,timeout_ms?}. timeout_ms (1..2147483647, default the agent request_timeout_ms) bounds connect, discovery and each call; progress notifications restart it. Env/headers stay literal. Activate by exact tools.use IDs.

Canonical-only sessions.retention_days: positive integer, default 30. Resume uses current config/agent on the same ID. Meaningful changes rotate once; unchanged resumes stabilize. Old stores cannot block new work.

Edit and verify

Back up, keep mode 0600, validate before replacing. Portable candidate: raw --config candidate.json config list. Canonical candidate with sessions:

sh
set -eu
stage=$(mktemp -d)
trap 'rm -rf "$stage"' EXIT
mkdir "$stage/raw"
cp "$1" "$stage/raw/config.json"
XDG_CONFIG_HOME="$stage" raw --config "$stage/raw/config.json" config list

Test changes.

Complete example

Replace model ID.

json
{"default_agent":"raw","models":{"local":{"provider":"ollama","method":"openai-chat-completions","model_id":"YOUR_INSTALLED_MODEL","context_window_tokens":32768}},"vars":{"now":{"description":"Current UTC time","access":"read","source":{"kind":"provider","name":"system.time"}}},"agents":{"raw":{"model":"local","vars":["now"],"tools":{"use":["builtin/read_file","builtin/bash","builtin/list_vars","builtin/read_var"]},"hooks":{"use":["agent/guard"]},"compact":{"trigger_tokens":24000}}}}

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Configure Raw」では何ができますか?

Use to explain, edit or diagnose Raw configuration through files, CLI or dashboard, including package bindings, models, agents, prompts, UI, vars, limits and policy. Use creation skills for new assets or MCP connections.

TypingMindでConfigure Rawを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Configure Rawはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConfigure Rawをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lploc94/raw-cli/tree/main/examples/skills/configure_rawを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Configure Rawを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Configure Rawで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもConfigure Rawを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Configure Raw」は無料ですか?

はい。lploc94がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇