vibeatlas/ship-protocol
SHIP Protocol - Success Heuristics for Intelligent Programming. AI coding reliability scoring (0-100).
Platform-specific configuration:
{
"mcpServers": {
"ship-protocol": {
"command": "npx",
"args": [
"-y",
"ship-protocol"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Success Heuristics for Intelligent Programming
-brightgreen?style=for-the-badge) [](https://www.npmjs.com/package/@vibeatlas/ship-protocol) [](LICENSE)
---
70% of AI coding tasks fail. Current tools focus on tokens and cost, not outcomes.
SHIP Protocol provides a universal reliability score for AI-assisted development.
SHIP Score = (Confidence × 0.40) + (Focus × 0.30) + (Context × 0.20) + (Efficiency × 0.10)One number (0-100) that tells you: Will this AI task succeed?
---
npm install @vibeatlas/ship-protocolimport {
createShipRequest,
calculateShipScore,
interpretShipScore,
getShieldsIoBadgeUrl
} from '@vibeatlas/ship-protocol';
// Create a SHIP request
const request = createShipRequest({
files: [
{
path: 'src/main.ts',
content: '// your code here',
language: 'typescript',
size_bytes: 1024
}
],
prompt: 'Add error handling to the API endpoints'
});
// Calculate SHIP Score
const score = calculateShipScore(
92, // confidence
88, // focus
85, // context
75 // efficiency
);
console.log(`SHIP Score: ${score.score} (${score.grade})`);
// Output: SHIP Score: 89 (A)
// Get interpretation
const interpretation = interpretShipScore(score.score);
console.log(interpretation.summary);
// Output: High reliability - Production ready
// Generate badge URL
const badgeUrl = getShieldsIoBadgeUrl(score.score, 'for-tLoading reviews...