
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@iflow-ai/niopd
Advanced tools
🌍 Languages: English | 中文 (Chinese)
NioPD (Nio Product Director) is a next-generation product management toolkit for agents like iFlow CLI or Claude Code which is inspired by the innovative work done in the Claude Code PM project. It provides every Product Manager with instant access to a Virtual Product Expert Team, all orchestrated and led by Nio, your AI-powered product partner and assistant.
As an AI-driven system tightly integrated with workflows, NioPD helps Product Managers transform raw ideas, messy feedback, and complex data into structured, actionable product plans. With Nio at the helm, you gain not just a set of tools, but a collaborative organization of specialized agents working together to support your goals, streamline your workflow, and unlock your strategic potential.
With NioPD, using the system is like having your own product expert team, always available to help you turn vision into reality.
Install NioPD using our dedicated CLI tool:
# install it first
npm install -g @iflow-ai/niopd
# Interactive mode (recommended for first-time users)
npx @iflow-ai/niopd install
# Silent installation with custom path
npx @iflow-ai/niopd install --silent --path ./my-project --ides claude,iflow
# Install to specific IDE only
npx @iflow-ai/niopd install --ides claude
NioPD requires either Claude Code or iFlow CLI to function.
Option A: Claude Code
npm install -g @anthropic-ai/claude-code
Option B: Claude Code Sugar (for non-US users)
bash -c "$(curl -fsSL https://github.com/claude-code-sugar/claude-code-sugar/refs/heads/main/install.sh)"
Option C: iFlow CLI
npm install -g @iflow-ai/iflow-cli
# Start your IDE
claude # or iflow
# Initialize NioPD workspace
/niopd:init
/niopd:new-initiative "My First Feature"
# Interactive session with your virtual product director
/niopd:hi
After installation, you should see:
.iflow/commands/niopd/
directory with all commands.iflow/agents/niopd/
directory with all agentsniopd-workspace/
directory created after /niopd:init
Permission Errors:
# Use sudo for global installation
sudo npm install -g @iflow-ai/niopd
# Or use npx without global installation
npx @iflow-ai/niopd install
Path Issues:
# Use absolute paths
npx @iflow-ai/niopd install --path /Users/yourname/projects/my-project
# Check current directory
pwd
Network Issues:
# Use npm mirror
npm config set registry https://registry.npmmirror.com
npx @iflow-ai/niopd install
Verification Commands:
# Check CLI version
niopd --version
# Test dry run
npx @iflow-ai/niopd install --dry-run
# Check help
npx @iflow-ai/niopd --help
Product Managers today are drowning in data and administrative work:
NioPD is designed to automate this "work about work" so you can focus on what matters.
The NioPD organization consists of three core roles who share a workspace, a toolset, and common collaboration protocols.
Role: The organization's leader and decision-maker.
Role: The Virtual Head of Product, a high-level guide.
Role: Single-task specialists, "by invitation only."
All Roles & Agents share a workspace, a toolset, and common collaboration protocols.
The NioPD workspace (niopd-workspace/
) is a shared file-based environment where all roles and agents collaborate, storing artifacts generated during the product management workflow.
niopd-workspace/initiatives/
: High-level strategic product initiativesniopd-workspace/prds/
: Product Requirement Documentsniopd-workspace/reports/
: Analysis and summary reportsniopd-workspace/roadmaps/
: Product roadmapsniopd-workspace/sources/
: Raw data and imported filesAll NioPD files follow a standardized naming pattern: [YYYYMMDD]-<identifier>-<document-type>-v[version].md
[YYYYMMDD]-<initiative_slug>-initiative-v[version].md
[YYYYMMDD]-<initiative_slug>-prd-v[version].md
[YYYYMMDD]-<initiative_slug>-feedback-summary-v[version].md
[YYYYMMDD]-<original_filename>-interview-summary-v[version].md
[YYYYMMDD]-<initiative_slug>-kpi-report-v[version].md
[YYYYMMDD]-<domain_name>-competitor-analysis-v[version].md
[YYYYMMDD]-<topic_slug>-trend-report-v[version].md
[YYYYMMDD]-<original_filename>-data-analysis-v[version].md
[YYYYMMDD]-<initiative_name>-personas-v[version].md
[YYYYMMDD]-<initiative_slug>-stakeholder-v[version].md
[YYYYMMDD]-<initiative_slug>-roadmap-v[version].md
NioPD automatically archives key information in the background:
This ensures all important work is preserved without interrupting your workflow.
NioPD guides you through a structured, repeatable process to take ideas from concept to a well-defined and launched feature.
The NioPD workflow follows the principle of "User-led, Nio-coordinated, Expert-executed."
graph TD
A["Product Manager (User) has new idea/problem"] -->|Initiates contact| B("Nio - Virtual Head of Product")
B <-->|Guided dialogue to clarify context & goals| A
B -->|Assesses task nature| C{"Is there a suitable Sub-agent?"}
C -->|Yes| D["Delegates task to Sub-agent"]
D --> E["Sub-agent executes single task"]
C -->|No| F["Nio executes task itself"]
E --> G["Deliverable"]
F --> G
G -->|Deliver to PM for review| A
subgraph "Direct Command"
A-.->|Bypass & delegate directly|E
end
%% New growth mechanism branch
B -->|Identifies repetitive task patterns| H["Detects high-frequency repetitive tasks"]
H --> I["Proposes creating new expert to PM"]
I --> J{"PM approves creation?"}
J -->|Yes| K["Creates new Sub-agent capability definition"]
J -->|No| L["Maintains current structure"]
K --> M["New Sub-agent joins organization"]
M --> C
A -->|Actively requests new expert| I
This workflow ensures the Product Manager remains at the center, benefiting from both Nio's strategic guidance and the Sub-agents' specialized skills.
NioPD transforms the way Product Managers work by providing an AI-driven expert organization that addresses the core challenges of modern product management:
Traditional PM Approaches | NioPD Advantages |
---|---|
Manual Data Synthesis Spending hours manually analyzing user feedback, interview transcripts, and survey responses to identify key insights. | AI-Powered Feedback & Data Analysis Specialized agents like feedback-synthesizer and data-analyst automatically process large volumes of unstructured data, extracting key themes, pain points, and actionable insights in minutes. |
Time-Consuming Market Research Manually researching competitors, market trends, and industry reports to stay informed. | Automated Competitor & Trend Analysis Agents like competitor-analyzer and market-researcher automatically gather and synthesize competitive intelligence and market trends, providing up-to-date strategic insights. |
Starting from Scratch Writing PRDs, roadmaps, and stakeholder reports from a blank page, following inconsistent templates. | Automated PRD & Report Drafting Template-driven document generation with AI assistance ensures consistent, high-quality outputs. The /niopd:draft-prd command can automatically generate complete PRDs from synthesized research. |
Static Documentation Maintaining separate, hard-to-update documents that quickly become outdated. | Dynamic Roadmaps & Reports The roadmap-generator and other agents create living documents that automatically update as your plans evolve, ensuring stakeholders always have the latest information. |
Working in Isolation Lacking access to experienced mentors or sparring partners for critical design decisions. | Expert Guidance & Mentorship Nio, the Virtual Head of Product, provides Socratic questioning and strategic guidance to help you think more deeply about your product decisions, acting as an experienced mentor available 24/7. |
Disconnected Tools Using separate tools for research, documentation, and analysis that don't communicate with each other. | Integrated Workflow All tools, agents, and processes work seamlessly together within a unified file-based system, with automatic archiving and cross-referencing of all work products. |
Administrative Overhead Spending valuable time on administrative tasks rather than strategic thinking. | Focus on Strategy By automating routine tasks and providing intelligent assistance, NioPD frees you to focus on high-value strategic work, user insight, and product innovation. |
Manual Progress Tracking Remembering to save important discussion milestones and progress checkpoints manually. | Knowledge Management NioPD automatically converts fragmented discussion information into structured project knowledge through intelligent summarization and archiving. The system proactively suggests saving summaries at key milestones, turning conversations into reusable organizational assets. |
Static System Evolution Manually requesting new features and waiting for system updates to automate repetitive tasks. | Intelligent Self-Evolution NioPD automatically analyzes your working patterns and historical work content to identify repetitive tasks, then proactively suggests creating new commands or agents to automate these patterns. This organizational self-evolution reduces repetitive labor - the more you use it, the smarter it becomes. |
AI-Driven Expert Organization: Unlike traditional toolsets, NioPD provides a complete virtual team of specialized agents, each an expert in their domain, working together under the guidance of Nio, your Virtual Head of Product. This creates a collaborative environment where each agent focuses on what they do best.
Socratic Mentorship: Nio doesn't just provide answers; it helps you discover your own solutions through guided questioning, developing your product thinking skills and confidence. Based on first-principles thinking, Nio guides you to break down assumptions and ideas to their foundational elements.
Specialized Domain Experts: Each sub-agent is a specialist in one area (feedback analysis, competitive research, data analysis, etc.), ensuring deep expertise where needed while preserving context through intelligent summarization. This specialization allows for more accurate and detailed analysis than general-purpose tools.
File-Based Collaboration: All work is automatically saved and organized in a structured file system, creating a comprehensive, auditable trail of your product development process. This approach ensures that all artifacts are preserved and easily accessible for future reference.
Extensible Architecture: NioPD can grow with your needs, with the ability to add new specialized agents for emerging requirements. The system can identify repetitive task patterns and propose creating new experts to join your virtual team.
Silent Archiving: Nio automatically archives key information to the workspace in the background without interrupting your workflow. This ensures that all important discussions, research findings, and decisions are preserved for future reference.
Intelligent Self-Evolution: NioPD automatically analyzes your working patterns and historical work content to identify repetitive tasks, then proactively suggests creating new commands or agents to automate these patterns. This organizational self-evolution reduces repetitive labor - the more you use it, the smarter it becomes. Nio can detect when new specialized capabilities are needed and propose expanding your virtual expert team accordingly.
Structured Workflow: NioPD follows a principled "User-led, Nio-coordinated, Expert-executed" workflow that ensures you remain at the center of decision-making while benefiting from AI-powered assistance. The workflow is designed to guide you through a structured process from idea to implementation.
NioPD is a self-contained system with a consolidated architecture that eliminates redundancy while maintaining full compatibility with both Claude Code and iFlow CLI.
The system uses a single core/
directory as the source of truth, which is dynamically deployed to the appropriate IDE directory during installation.
NioPD/
├── README.md # This file
├── AGENTS.md # Guide for how NioPD's AI agents work
├── COMMANDS.md # Complete command reference
├── core/ # Consolidated core system (single source of truth)
│ ├── agents/ # Definitions for specialized PM agents (10 agents)
│ │ └── niopd/ # Namespace for NioPD agents
│ ├── commands/ # Definitions for all /niopd: commands (16 commands)
│ │ └── niopd/ # Namespace for NioPD commands
│ ├── scripts/ # Helper scripts for automation
│ │ └── niopd/ # Namespace for NioPD scripts
│ ├── templates/ # Reusable templates for PRDs, reports, etc.
│ └── claude.md # Claude Code integration file
├── lib/ # CLI installation tools
│ ├── file-manager.js # Dynamic path mapping logic
│ ├── install.js # Installation orchestration
│ └── ... # Supporting utilities
└── niopd-workspace/ # Your product data lives here (created when needed)
├── initiatives/ # Product initiative files
├── prds/ # Product Requirements Documents
├── reports/ # Analysis and summary reports
├── roadmaps/ # Product roadmaps
└── sources/ # Raw feedback data and other imported files
The system supports flexible installation through multiple methods:
.claude/
directory.iflow/
directorynpx @iflow-ai/niopd install
npm install -g @iflow-ai/niopd
core/
contents to target directoriesThe system intelligently maps from the unified core/
source to IDE-specific target directories:
core/agents/niopd/
→ .claude/agents/niopd/
or .iflow/agents/niopd/
core/commands/niopd/
→ .claude/commands/niopd/
or .iflow/commands/niopd/
core/scripts/niopd/
→ .claude/scripts/niopd/
or .iflow/scripts/niopd/
core/templates/
→ .claude/templates/
or .iflow/templates/
NioPD operates on a structured, file-based pattern that combines user commands with detailed instructions for the AI. Understanding this pattern is key to using and extending the system.
A complete command or feature in NioPD is composed of up to five parts, all located within the core
directory:
This is the entry point, which the user types to initiate a workflow.
/niopd:new-initiative "My New Feature"
/niopd:<command_name> [arguments]
This is the brain of the operation. For every command, there is a corresponding markdown file that acts as a detailed prompt for the AI.
core/commands/niopd/<command_name>.md
core/commands/niopd/new-initiative.md
contains the complete workflow for creating new initiatives.For complex tasks involving analysis or synthesis, the command prompt will invoke a specialized agent. Agents are also defined by markdown prompts that give them a specific role and process to follow.
core/agents/niopd/<agent_name>.md
/niopd:hi
command invokes the main Nio
agent.Nio
supervisor, feedback-synthesizer
, competitor-analyzer
, market-researcher
, etc.If a command's final output is a structured document (like a PRD or an initiative), it will use a template.
core/templates/<template_name>.md
initiative-template.md
, prd-template.md
, competitor-analysis-template.md
For commands that need to perform actions on the file system, the command prompt will call a shell script. This separates the AI's "thinking" from the system's "doing".
core/scripts/niopd/<script_name>.sh
/niopd:new-initiative
command prompt calls the new-initiative.sh
script to save the final document.Important: Each command corresponds to a .md
file in the commands directory, and some commands may have a corresponding .sh
script in the scripts directory for system-level operations.
/niopd:hi
: Start an interactive session with Nio, your product supervisor./niopd:new-initiative "<name>"
: Start a new high-level product initiative./niopd:summarize-feedback --from=<file> --for=<initiative>
: Use an AI agent to analyze a feedback file./niopd:draft-prd --for=<initiative>
: Automatically generate a PRD draft./niopd:update-roadmap
: Generate or update the product roadmap./niopd:help
: Display help information about the NioPD system and its commands./niopd:analyze-competitor --url=<url>
: Analyzes a competitor's website./niopd:summarize-interview --file=<path>
: Summarizes a user interview transcript./niopd:analyze-data --file=<path> --query="..."
: Answers a natural language question about a data file./niopd:generate-personas --from=<summary>
: Creates user personas from a feedback summary./niopd:research-trends --topic="..."
: Researches and summarizes market trends on a topic./niopd:generate-update --for=<initiative>
: Create a concise stakeholder update report./niopd:track-kpis --for=<initiative>
: Get a status report on an initiative's KPIs.The following commands are planned for future releases:
/niopd:draw-diagram --type=<type> --desc="..."
: Creates a PlantUML or Mermaid diagram from a description./niopd:assess-feasibility --for=<prd>
: Flags technically complex requirements in a PRD./niopd:write-stories --for=<prd>
: Writes detailed user stories and acceptance criteria for a PRD./niopd:identify-risks --for=<prd>
: Identifies potential risks for an initiative./niopd:draft-release-notes --for=<prd>
: Generates draft release notes for a feature./niopd:generate-faq --for=<prd>
: Creates a list of FAQs for a new feature./niopd:simplify-update --for=<initiative> --audience=...
: Tailors a stakeholder update for a specific audience./niopd:brainstorm-names --desc="..."
: Brainstorms names for a new feature.For a complete command reference, see COMMANDS.md
Here's how you might use NioPD to research and plan a new feature using the currently available commands:
Start a conversation with Nio:
/niopd:hi
(Use this interactive session to discuss with Nio about the feature, clarify goals, and get guidance).
Research the market:
/niopd:research-trends --topic="AI-powered data analysis tools"
Analyze a competitor:
/niopd:analyze-competitor --url="https://www.competitor.com"
Define the initiative:
/niopd:new-initiative "Intelligent Analysis Feature"
Analyze user feedback:
Place your feedback file in niopd-workspace/sources/user-feedback.txt
/niopd:summarize-feedback --from="user-feedback.txt" --for="Intelligent Analysis Feature"
Generate user personas:
/niopd:generate-personas --from="feedback-summary-report.md"
Draft the PRD automatically:
/niopd:draft-prd --for="Intelligent Analysis Feature"
Generate detailed user stories:
/niopd:write-stories --for="Intelligent Analysis Feature"
Generate a comprehensive FAQ:
/niopd:generate-faq --for="Intelligent Analysis Feature"
Update the product roadmap:
/niopd:update-roadmap
Track progress:
/niopd:track-kpis --for="Intelligent Analysis Feature"
Note: Features like diagram creation and risk assessment are planned for future releases.
This README provides a comprehensive overview for any Product Manager looking to use the NioPD system.
NioPD was inspired by the innovative work done in the Claude Code PM project. We extend our gratitude to the creators and contributors of that project for their pioneering approach to AI-powered product management workflows.
While NioPD has evolved in its own direction with unique features and capabilities, the foundational concepts and vision from Claude Code PM have been instrumental in shaping this system.
FAQs
NioPD CLI 安装工具 - AI驱动产品管理工具包
We found that @iflow-ai/niopd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.