I like this.  Part of me wants to include the proficiency bonus into the equation somehow.  I'm reluctant to include this in my D&D game as it makes it feel way less like D&D (that's not a bad thing).  This is an interesting idea though and worth thinking about thought.