DEV Community

vaishnavi Banthe
vaishnavi Banthe

Posted on

PhantomShell AI

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission ๐Ÿ‘ป๐ŸŒผ

title: "PhantomShell AI: A Ghost in the Terminal ๐Ÿ‘ป"
published: false
tags: devchallenge, hf26challenge

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.

What I Built

๐Ÿ‘ป PhantomShell AI โ€” Ghost in the Terminal

PhantomShell AI is a spooky terminal assistant designed to help beginners understand Linux commands and recognize potentially dangerous operations.

Inspired by the Ghost in the Machine theme, I wanted to make learning terminal safety more engaging while helping users understand what commands might do before they run them.

Key Features

  • ๐Ÿ’ป Beginner-friendly explanations of terminal commands.
  • ๐Ÿ›ก๏ธ Risk classification for potentially dangerous operations.
  • ๐Ÿ‘ป A spooky terminal-inspired interface.
  • ๐Ÿ“œ Local interaction history using SQLite.
  • ๐ŸŒ™ Lightweight design intended to work without downloading large AI models.
  • ๐Ÿงช Automated tests for core functionality.

The application is designed to analyze submitted commands rather than execute them.

Demo

GitHub Repository:
https://github.com/banthevaishnavi/PhantomShell_AI

Live Demo:

Screenshots:

Code

Explore the source code:

https://github.com/banthevaishnavi/PhantomShell_AI

The project uses Python and Streamlit for the interface, SQLite for local history, and a separate safety-analysis module.

How I Built It

I built PhantomShell AI with a focus on simplicity, limited hardware resources, and beginner-friendly security education.

The project uses:

  • Python for application logic.
  • Streamlit for the interactive interface.
  • SQLite for local storage.
  • pytest for automated testing.
  • GitHub for source control.

One important design decision was to avoid requiring users to download large model weights onto their computers.

The current implementation uses deterministic explanations and command-safety rules when no inference backend is configured. These rules operate locally and do not require an external AI service.

A genuine open-weight model inference integration remains necessary for the project to fully meet this challenge's central AI requirement.

Why Does Open Innovation Matter?

Open innovation gives developers the freedom to inspect, modify, and extend the tools they build with.

For PhantomShell AI, a lightweight local architecture means that command analysis and history can remain on the user's machine without requiring a cloud service.

It also allows the project to evolve: a compatible open-weight model can be integrated without redesigning the entire application.

The goal is to keep the tool accessible to developers with limited hardware resources while maintaining control over how commands are analyzed and how user data is stored.

The current deterministic implementation works without an AI service, but it does not replace the need for genuine open-weight inference to satisfy the challenge.

The Spirit of It ๐Ÿ‘ป

A terminal can feel intimidating when you're learning Linux. A single unfamiliar command can look like a spell, and some commands can have serious consequences.

PhantomShell AI turns that experience into a small encounter with a helpful ghost: one that explains commands, highlights risks, and encourages users to understand before executing.

The idea is simple: make terminal learning less intimidating while encouraging safer computing habits.

Prize Categories

  • Overall challenge: submission intended for consideration.
  • Partner categories: none claimed at this stage.

What's Next?

My next step is to integrate and test a genuine open-weight inference backend that fits the project's lightweight design.

I'd love to hear suggestions for improving command-risk detection, beginner-friendly explanations, and privacy-conscious AI integration.

Thanks for checking out PhantomShell AI! ๐Ÿ‘ป

Top comments (0)