PTBuilder
A Packet Tracer extension to allow coding of network creation (with or without AI)
Install / Use
/learn @kimmknight/PTBuilderREADME
Packet Tracer Builder
Packet Tracer Builder is an extension that allows you to use JavaScript code to create networks.
It provides a code editor window and a set of simple functions that can be called to create, configure, and link devices.
For example:
addDevice("R1","2911",100,100);
addDevice("S1","2960-24TT",200,100);
addDevice("PC1","PC-PT",300,100);
addLink("R1","GigabitEthernet0/1","S1","GigabitEthernet0/1", "straight");
addLink("S1","FastEthernet0/1","PC1","FastEthernet0", "straight");
Produces:

You can also use loops and other JavaScript features to automate it. For example, to create 10 switches:
for (let n=1; n <= 10; n++) {
addDevice("S" + n,"2960-24TT",n * 100,100);
}
Produces:

But why???
This was dreamt up as a method to allow AI chatbots to automate the creation of Packet Tracer networks.
Installation
-
Download Builder.pts
-
In Packet Tracer, click Exensions > Scripting > Configure PT Script Modules
-
Click the Add... button and locate Builder.pts
Use
Once installed, you can open the code editor at any time by clicking Extensions > Builder Code Editor.
Documentation
In the Wiki, you will find information on the available functions, as well as lists of usable devices, links, and modules.
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
