スキル generate-image
📦

generate-image

コンテンツリビジョン r2 高リスク 🌐 ネットワークアクセス📁 ファイルシステムへのアクセス🔑 環境変数⚙️ 外部コマンド

OpenRouterを通じてAI画像を生成

カスタムビジュアルの作成では、ツールを切り替えたりモデル設定を管理したりする必要がよくあります。このスキルは、プロンプトベースの生成と画像編集向けにOpenRouterの画像モデルをラップします。

対応: Claude Codex Code(CC)
⚠️ 38 不十分

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "generate-image" from https://skillstore.io/skills/davila7-generate-image.md and its manifest at https://skillstore.io/api/skills/davila7-generate-image/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「generate-image」を使用しています。 プロンプト: デジタルボードを囲んで共同作業する現代的なオフィスチーム。

期待される結果:

PNG画像が、OpenRouterリクエストからのステータスメッセージとともに選択した出力パスに保存されます。

「generate-image」を使用しています。 プロンプト: 既存の風景写真の空を紫色にしてください。

期待される結果:

  • 入力画像がエンコードされ、編集のためにOpenRouterへ送信されます。
  • 編集済みの結果がPNGファイルとして保存されます。

「generate-image」を使用しています。 プロンプト: 免疫療法プレゼンテーション用の科学コンセプトイラスト。

期待される結果:

正式な技術図ではなく、プレゼンテーション用途の汎用イラストが生成されます。

セキュリティ監査

高リスク

The skill sends prompts and optional input images to OpenRouter, then writes generated image data to a selected local path. Most external-command alerts are Markdown formatting, and most key alerts reference placeholders or ordinary parameter handling. Parent credential discovery, command-line secrets, image uploads, and unrestricted output paths need stronger consent and scope controls.

2
スキャンされたファイル
461
解析済み行数
9
レビュー項目
0
誤検知を無視

確認済みのセキュリティ上の懸念 (5)

高
Environment file access
# Look for .env in current directory and parent directories
The code intentionally searches the current directory and every parent for .env files. This can select credentials outside the active project.
高
Environment file access
env_file = parent / ".env"
This constructs a .env path for each ancestor visited by the loop. The search has no repository or workspace boundary.
高
Environment file access
1. Look for a `.env` file in the project directory or parent directories
The instructions explicitly direct the agent to search project and parent directories for .env files. Parent traversal can expose unrelated credentials.
高
Environment file access
2. Check for `OPENROUTER_API_KEY=<key>` in the `.env` file
The instructions direct the agent to inspect a .env file for a named secret. This creates sensitive-file access beyond merely documenting setup.
中
Local Images Are Uploaded Without Separate Confirmation
The edit path reads any supplied local image, embeds its contents, and sends it to OpenRouter. An autonomous invocation could disclose a sensitive image without separate upload confirmation.
The code directly reads the selected file, converts it to a data URL, and includes that data in the fixed OpenRouter request.
機能レビュー項目 (9)

これらは、このスキルに期待される可能性のある実際のローカル機能であるため、レビューが必要ですが、確認済みの悪意ある動作としてはカウントされません。

高
Generic API/secret keys
if line.startswith('OPENROUTER_API_KEY='):
This line identifies OPENROUTER_API_KEY inside a discovered .env file. The surrounding function searches every parent directory, expanding credential access beyond the project.
高
Generic API/secret keys
api_key = line.split('=', 1)[1].strip().strip('"').strip("'")
This line extracts the OpenRouter credential as plaintext from a discovered .env file. The value comes from an unbounded parent-directory search.
高
Generic API/secret keys
return api_key
This returns a credential found through the parent-directory search for later network use. The secret source is not restricted to the current project.
高
Generic API/secret keys
api_key = check_env_file()
This invokes the .env discovery routine whenever no key argument is supplied. That routine searches the current directory and all ancestors.
高
Generic API/secret keys
api_key=args.api_key,
This passes a secret supplied through the --api-key command-line option. Command-line secrets can remain visible in shell history and process listings.
高
Generic API/secret keys
2. Check for `OPENROUTER_API_KEY=<key>` in the `.env` file
The skill instructs the agent to inspect .env content for an OpenRouter credential. This is real secret access, even though it supports expected API authentication.
中
Python file write/append
with open(output_path, 'wb') as f:
The script opens the caller-selected output path in write mode. It can replace an existing file without confirmation.
低
Python HTTP libraries
response = requests.post(
The request sends prompts and optional image data to OpenRouter. This is expected functionality, but it creates a real external data transfer.
低
Hardcoded URL
url="https://openrouter.ai/api/v1/chat/completions",
This is the fixed OpenRouter API endpoint used for image requests. The destination is not user-controlled, but outbound transfer is a real capability.
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/davila7-generate-image/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/davila7-generate-image/security.svg)](https://skillstore.io/skills/davila7-generate-image?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/davila7-generate-image?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/davila7-generate-image/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/davila7-generate-image.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

davila7. (2026). generate-image security audit report (audit version 10) [Author version unspecified]. Skillstore. https://skillstore.io/skills/davila7-generate-image/audits/10

BibTeX形式の引用

@techreport{davila7-davila7-generate-image-2026, author = {davila7}, title = {generate-image security audit report (audit version 10)}, institution = {Skillstore}, year = {2026}, number = {10}, url = {https://skillstore.io/skills/davila7-generate-image/audits/10}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "generate-image security audit report (audit version 10)" version: "unspecified" type: report authors: - name: "davila7" date-released: "2026-07-23" url: "https://skillstore.io/skills/davila7-generate-image/audits/10" identifiers: - type: other value: "skillstore:davila7-generate-image:audit:10" description: "Skillstore immutable audit report identifier"

バリアントを比較

インストール可能なバリアント 2 件

各作者のスキルは個別のインストール項目として維持されます。推奨バリアントは Skillstore の証拠で順位付けされます。

このバリアントが首位の理由

Skillstore での利用が多い
K-Dense-AI 推奨

k-dense-ai-generate-image

Skillstore スコア 38
証拠の信頼度 中
Skillstore 利用状況 19
更新済み

2026-09-09

davila7 現在

davila7-generate-image

Skillstore スコア 38
証拠の信頼度 中
Skillstore 利用状況 12
更新済み

2026-09-09

Skillstore スコア

このスコアの理由 証拠の信頼度: 中
45
アーキテクチャ
85
保守性
87
コンテンツ
71
コミュニティ
91
仕様準拠

作成できるもの

プレゼンテーション用ビジュアルを作成

スライドやポスター用の背景、ヒーロー画像、コンセプトビジュアルを生成します。

マーケティングアセットを下書き

キャンペーン、ソーシャル投稿、ドキュメントページ向けのビジュアルコンセプトをすばやく作成します。

既存画像を編集

既存画像の色、背景、または表示されている要素を変更します。

これらのプロンプトを試す

シンプルなビジュアルを作成
[subject]のクリーンな製品イラストを無地の背景で生成してください。モダンなスタイルとバランスの取れた照明を使用してください。
画像内の1つの要素を編集
[image]を編集し、[element]を[new appearance]に変更してください。主要な被写体、構図、リアルな照明を維持してください。
プレゼンテーション用アートワークを準備
[topic]を示す16:9のプレゼンテーション画像を生成してください。明確な焦点、読みやすい余白、[brand palette]に合う色を使用してください。
マルチモデルワークフローを構築
[campaign]向けに3つのビジュアル方向性を生成してください。品質のために[model]を使用し、出力を別々に保存して、リアリズム、コスト、編集しやすさを比較してください。

ベストプラクティス

  • 被写体、スタイル、照明、出力目的を明記した詳細なプロンプトを使用してください。
  • 非公開画像や機密性の高いプロンプトをOpenRouterへ送信する前に、ユーザーの同意を確認してください。
  • 既存のプロジェクトファイルを上書きしないよう、出力パスは慎重に選択してください。

回避

  • フローチャート、回路、または正式な技術模式図にはこのスキルを使用しないでください。
  • 外部処理が許容される場合を除き、非公開画像を渡さないでください。
  • APIキーをコマンド履歴や共有ドキュメントに記載しないでください。

よくある質問

このスキルは何を生成しますか?
写真、イラスト、ビジュアルコンセプト、プレゼンテーションアセットなどの汎用画像を生成および編集します。
どのモデルに対応していますか?
ドキュメントでは、OpenRouter経由のGemini画像プレビューおよびFLUX画像モデルが掲載されています。
APIキーは必要ですか?
はい。画像リクエストを実行する前に、スクリプトにはOpenRouter APIキーが必要です。
生成された画像はどこに保存されますか?
スクリプトは、最初に返された画像をPNGファイルとして選択した出力パスに保存します。
既存画像を編集できますか?
はい。ローカルの入力画像を編集指示とともに、対応するOpenRouterモデルへ送信できます。
技術図に適していますか?
いいえ。スキルのドキュメントでは、技術図には別の科学模式図スキルを使用するよう案内しています。

開発者情報

作成者

davila7

ライセンス

MIT

Skillstore リビジョン

r2

バージョンに関する注意

作者はバージョンを宣言していません。

参照

c43861a65bb95efcae259cd161c9d6f4dc7eec6f

メンテナンスの新しさ

2026/7/26

利用状況

9 ダウンロード · 260 閲覧

ファイル構成