hnh-dify

Interact with the Dify.ai Service API to run workflows and manage knowledge bases.

3|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/huynguyenh/skills --skill hnh-dify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hnh-dify
Source: https://github.com/huynguyenh/skills/tree/main/skills/hnh-dify
Command: npx skills add https://github.com/huynguyenh/skills --skill hnh-dify

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill streamlines your interaction with Dify.ai, allowing you to manage and execute AI workflows, chat with applications, and maintain knowledge bases without leaving your current environment.

Core Features & Use Cases

  • Workflow Execution: Run Dify workflows, either blocking for immediate results or streaming for real-time updates.
  • Knowledge Base Management: Create, update, delete, and retrieve information from Dify knowledge bases.
  • Chat Interaction: Engage in conversations with Dify-hosted applications, manage conversation history, and provide feedback.
  • File & Audio Handling: Upload files for processing and transcribe or generate audio.
  • Use Case: You need to run a Dify workflow that analyzes customer feedback. You can use this skill to trigger the workflow, pass in the feedback data, and receive the analysis results directly.

Quick Start

Use the hnh-dify skill to run a workflow named 'customer-sentiment-analysis' with the input '{"feedback_text": "The new feature is great!"}'.

Frequently Asked Questions about hnh-dify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute Dify.ai workflows via API calls?

You can execute Dify.ai workflows by sending API requests to trigger them, choosing between blocking mode for immediate results or streaming mode for real-time updates. This allows direct workflow execution from your environment.

Can I manage Dify knowledge bases and documents from the command line?

Yes, you can manage Dify knowledge bases directly from the command line by creating, updating, deleting, and retrieving datasets and documents. This is handled through Python scripts interacting with the Dify.ai Service API.

What is the best way to send chat messages to a Dify application?

The best way to send chat messages to a Dify application is using command-line interface scripts that interact with the Dify.ai Service API. This method supports managing conversation history and providing feedback directly.

Does the Dify API support file uploads and audio transcription?

Yes, the Dify API supports file uploads for processing and handles audio transcriptions or generation. You can use Python scripts to send files and audio data to your Dify.ai workflows and applications.

Do I need Python to interact with the Dify.ai Service API?

Yes, you need Python to use this skill, as it provides command-line interface scripts that execute Python code to interact with the Dify.ai Service API for managing workflows and knowledge bases.

How do I pass input data to a Dify workflow?

You pass input data to a Dify workflow by including a JSON payload when triggering the API call. For example, you can run a workflow and pass input like '{"feedback_text": "The new feature is great!"}'.