Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUveb3ffc6911f8
diff --git a/v3/@claude-flow/codex/src/initializer.ts b/v3/@claude-flow/codex/src/initializer.ts
index b7cbdaf9e6..caffb14ddb 100644
--- a/v3/@claude-flow/codex/src/initializer.ts
+++ b/v3/@claude-flow/codex/src/initializer.ts
@@ -99,15 +99,29 @@ export class CodexInitializer {
warnings.push('.agents/config.toml already exists - skipped');
}
- // Generate skills
+ // Copy bundled skills first (for full/enterprise templates or specific skills)
+ const bundledResult = await this.copyBundledSkills();
+ skillsGenerated.push(...bundledResult.copied);
+ warnings.push(...bundledResult.warnings);
+
+ // For skills not bundled, generate from templates
for (const skillName of this.skills) {
+ // Skip if already copied as bundled skill
+ if (bundledResult.copied.includes(skillName)) {
+ filesCreated.push(`.agents/skills/${skillName}/SKILL.md`);
+ continue;
+ }
+
try {
const skillResult = await this.generateSkill(skillName);
if (skillResult.created) {
skillsGenerated.push(skillName);
filesCreated.push(skillResult.path);
} else if (skillResult.skipped) {
- warnings.push(`Skill ${skillName} already exists - skipped`);
+ // Only warn if not already in bundled warnings
+ if (!bundledResult.warnings.some(w => w.includes(skillName))) {
+ warnings.push(`Skill ${skillName} already exists - skipped`);
+ }
}
} catch (err) {
const errorMessage = err instanceof Error ? err.message : String(err);