← Back to Skills Marketplace
Microsoft Foundry image generation
by
Jacques Kang
· GitHub ↗
· v1.0.6
718
Downloads
2
Stars
0
Active Installs
8
Versions
Install in OpenClaw
/install ms-foundry-image-gen
Description
Azure Foundry image generation skill for OpenClaw; generates images via a Foundry deployment and returns image bytes or URLs.
Usage Guidance
This skill appears to do exactly what it says: call your Azure Foundry images deployment and save the returned image bytes. Before installing, ensure you only provide a Foundry API key with the minimum necessary permissions, verify the FOUNDRY_ENDPOINT is correct and points to your service, and be aware the example writes temporary files to /tmp (ephemeral). Also confirm your environment has curl, jq, and a compatible base64 utility. If you need stricter hostname validation, review the endpoint regex in the SKILL.md or restrict network access accordingly.
Capability Analysis
Type: OpenClaw Skill
Name: ms-foundry-image-gen
Version: 1.0.6
The skill is designed for Azure Foundry image generation and includes positive security measures like endpoint validation and safe prompt handling using `jq --arg`. However, it directly interpolates the `$FOUNDRY_DEPLOYMENT` and `$FOUNDRY_API_VERSION` environment variables into the `curl` URL in `SKILL.md` without explicit validation or escaping. This creates a potential shell injection vulnerability if an attacker can control these environment variables, which could lead to arbitrary command execution on the agent. While the skill explicitly states an intent to prevent injection risks, this oversight constitutes a significant vulnerability, classifying it as suspicious rather than benign.
Capability Assessment
Purpose & Capability
Name/description match the declared requirements: curl/jq/base64 and the Foundry endpoint, API key, and deployment name are appropriate and necessary for calling the Foundry images REST API.
Instruction Scope
SKILL.md contains concrete curl/jq/base64 commands that only call the declared Foundry endpoint, validate the endpoint string, stream a base64 payload to /tmp, and save an image file. The instructions do not ask to read unrelated files, system credentials, or transmit data to any external endpoint other than the provided Foundry endpoint.
Install Mechanism
No install spec or external downloads — instruction-only skill (lowest install risk). It relies on standard CLI tools being present on PATH, which is consistent with the examples.
Credentials
Required environment variables (FOUNDRY_API_KEY, FOUNDRY_ENDPOINT, FOUNDRY_DEPLOYMENT) are directly relevant and limited in number. The primary credential is correctly declared as FOUNDRY_API_KEY. An optional FOUNDRY_API_VERSION is used in examples but not required, which is documented in Options.
Persistence & Privilege
The skill does not request always: true, does not modify other skills or system configs, and has no install-time persistence. It will make outbound calls at runtime when invoked (normal for this capability).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ms-foundry-image-gen - After installation, invoke the skill by name or use
/ms-foundry-image-gen - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.6
- Updated the usage example to save intermediate and output files into the `/tmp` directory instead of the current directory.
- Improved script hygiene by avoiding local file clutter for generated images and results.
v1.0.5
- Removed the manifest.json file from the repository.
- No other functionality or documentation changes in this release.
v1.0.4
No code changes detected. Documentation and metadata updates only.
- Updated SKILL.md to add clearer usage instructions, safer example code, and option descriptions.
- Added YAML front-matter with skill name, description, homepage, and metadata.
- Highlighted required environment variables more clearly and documented their use.
- Stated manifest declares required secrets and primary credential for better transparency.
- No functional or code changes in this release.
v1.0.3
No user-facing changes in this release.
- No file or documentation changes were detected between versions.
v1.0.2
- Added a skill manifest (`manifest.json`) declaring required environment variables.
- `FOUNDRY_API_KEY` is now marked as the primary credential (secret) in the manifest for improved transparency.
- Documentation updated to describe registry metadata and clarify required/optional environment variables.
- No changes to runtime logic or usage examples.
v1.0.1
- Initial release of the Azure Foundry image generation skill for OpenClaw.
- Provides Bash-based interaction with Azure Foundry (Cognitive Services/OpenAI) image generation deployment.
- Requires `curl`, `jq`, and `base64`; uses environment variables for endpoint, API key, deployment name, and API version.
- Includes example for generating and saving images, plus troubleshooting and setup notes.
v1.0.0
- Major change: Skill renamed and function changed from Azure Foundry image generation to Tavily web search.
- Previous Azure Foundry image generation functionality removed.
- Added Tavily web search and content extraction via Tavily API.
- Instructions updated for new commands and options (search, deep search, topic, date filtering, content extraction).
- Now requires TAVILY_API_KEY environment variable and Node.js installed.
v0.1.0
- Removed the Python script for image generation (`scripts/generate.py`), transitioning away from a built-in script.
- SKILL.md documentation rewritten to focus on using Azure Foundry (Cognitive Services/OpenAI) REST API directly with `curl`, `jq`, and `base64`.
- Environmental setup and usage examples updated for working with generic Azure Foundry image endpoints.
- Batch, quality, and gallery features previously described are no longer included; users now interact directly via API calls and shell utilities.
Metadata
Frequently Asked Questions
What is Microsoft Foundry image generation?
Azure Foundry image generation skill for OpenClaw; generates images via a Foundry deployment and returns image bytes or URLs. It is an AI Agent Skill for Claude Code / OpenClaw, with 718 downloads so far.
How do I install Microsoft Foundry image generation?
Run "/install ms-foundry-image-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Microsoft Foundry image generation free?
Yes, Microsoft Foundry image generation is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Microsoft Foundry image generation support?
Microsoft Foundry image generation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Microsoft Foundry image generation?
It is built and maintained by Jacques Kang (@jacqueskang); the current version is v1.0.6.
More Skills