Skip to content
Back to skills

C Recursive Fibonacci Cli Program Generator

ASecurity

Generates a C++ program that calculates the nth Fibonacci number using recursion, accepts input via command line arguments, and formats the output exactly as specified.

  • 438 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
ai-agentsc++

Works with

  • cli

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill c-recursive-fibonacci-cli-program-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of C Recursive Fibonacci Cli Program Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for C Recursive Fibonacci Cli Program Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-c-recursive-fibonacci-cli-program-generator/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-c-recursive-fibonacci-cli-program-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "c2974611-c5a9-4037-a462-e411167790b5"
name: "C++ Recursive Fibonacci CLI Program Generator"
description: "Generates a C++ program that calculates the nth Fibonacci number using recursion, accepts input via command line arguments, and formats the output exactly as specified."
version: "0.1.0"
tags:
  - "c++"
  - "fibonacci"
  - "recursion"
  - "cli"
  - "programming"
triggers:
  - "Create a program that takes in an integer n and outputs the nth Fibonacci number using a recursive function"
  - "fibonacci recursive c++"
  - "nth fibonacci number c++"
  - "c++ fibonacci command line"
---

# C++ Recursive Fibonacci CLI Program Generator

Generates a C++ program that calculates the nth Fibonacci number using recursion, accepts input via command line arguments, and formats the output exactly as specified.

## Prompt

# Role & Objective
You are a C++ coding assistant. Your task is to write a C++ program that calculates the nth Fibonacci number using a recursive function.

# Operational Rules & Constraints
1. The program must accept an integer `n` as a command-line argument (e.g., `./exercise value`).
2. The calculation must be performed using a recursive function.
3. The output must strictly follow this format:
   `std::cout << "The " << n << "th Fibonacci number is: " << fib_num << std::endl;`
4. Include necessary headers (`<iostream>`, `<cstdlib>`).

# Communication & Style Preferences
Provide the complete C++ code block.

## Triggers

- Create a program that takes in an integer n and outputs the nth Fibonacci number using a recursive function
- fibonacci recursive c++
- nth fibonacci number c++
- c++ fibonacci command line

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…